Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Sin,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sin1.u|sin1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 108.7 kB / 16.41 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 186.2 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.463/2.463, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 75.89 kB / 1.066 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7287/0.7301, allocations: 159.1 MB / 1.221 GB, free: 2.367 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Sin): time 0.001799/0.7319, allocations: 0.6656 MB / 1.222 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008524/0.7328, allocations: 0.8117 MB / 1.222 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.668e-05/0.7328, allocations: 4 kB / 1.222 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.5e-05/0.7329, allocations: 3.938 kB / 1.222 GB, free: 0.8672 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.7329, allocations: 3.938 kB / 1.222 GB, free: 0.8633 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001303/0.7331, allocations: 11.98 kB / 1.222 GB, free: 0.8516 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.579e-05/0.7331, allocations: 16 kB / 1.222 GB, free: 0.8359 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.185e-05/0.7332, allocations: 11.92 kB / 1.222 GB, free: 0.8242 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.846e-05/0.7333, allocations: 11.94 kB / 1.222 GB, free: 0.8125 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.166e-05/0.7334, allocations: 15.97 kB / 1.222 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.7334, allocations: 0 / 1.222 GB, free: 0.7969 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.017e-06/0.7334, allocations: 8 kB / 1.222 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.355e-05/0.7334, allocations: 0 / 1.222 GB, free: 0.7891 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.783e-05/0.7334, allocations: 7.938 kB / 1.222 GB, free: 0.7812 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.546e-05/0.7335, allocations: 23.89 kB / 1.222 GB, free: 0.7578 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.7335, allocations: 4 kB / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.152e-06/0.7335, allocations: 0 / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.7335, allocations: 0 / 1.222 GB, free: 0.7539 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004084/0.734, allocations: 339.3 kB / 1.223 GB, free: 384 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.734, allocations: 8.625 kB / 1.223 GB, free: 376 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.7341, allocations: 8.938 kB / 1.223 GB, free: 368 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.7342, allocations: 160.4 kB / 1.223 GB, free: 168 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.7342, allocations: 384 / 1.223 GB, free: 168 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.268e-05/0.7342, allocations: 4.375 kB / 1.223 GB, free: 164 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.7344, allocations: 50.17 kB / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.7344, allocations: 192 / 1.223 GB, free: 108 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.7344, allocations: 7.938 kB / 1.223 GB, free: 100 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.7344, allocations: 0 / 1.223 GB, free: 100 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.7346, allocations: 35.95 kB / 1.223 GB, free: 64 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003132/0.7349, allocations: 248.9 kB / 1.223 GB, free: 15.77 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.735, allocations: 38.5 kB / 1.223 GB, free: 15.72 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.338e-05/0.7351, allocations: 32.83 kB / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.7351, allocations: 0 / 1.223 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.979e-05/0.7352, allocations: 34.56 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 2.174e-06/0.7352, allocations: 0 / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0003267/0.7355, allocations: 85.58 kB / 1.224 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.7355, allocations: 51.41 kB / 1.224 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.19e-05/0.7356, allocations: 105.8 kB / 1.224 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.7356, allocations: 29.83 kB / 1.224 GB, free: 15.34 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 3.89e-05/0.7357, allocations: 92.05 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.7357, allocations: 3.906 kB / 1.224 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.7357, allocations: 13.72 kB / 1.224 GB, free: 15.23 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.778e-05/0.7358, allocations: 314.8 kB / 1.224 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.833e-05/0.7359, allocations: 15.92 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.199e-05/0.736, allocations: 23.97 kB / 1.224 GB, free: 14.87 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.7361, allocations: 36.89 kB / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.7361, allocations: 0 / 1.224 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001904/0.7363, allocations: 69.59 kB / 1.224 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.7364, allocations: 5.719 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.7364, allocations: 4 kB / 1.224 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.7364, allocations: 8.031 kB / 1.224 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.585e-05/0.7365, allocations: 7.984 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.7365, allocations: 0 / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.021e-05/0.7366, allocations: 4 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.7366, allocations: 3.938 kB / 1.224 GB, free: 14.73 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.816e-05/0.7367, allocations: 118.3 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.7367, allocations: 3.984 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002352/0.7369, allocations: 72.78 kB / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.7369, allocations: 0 / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.737, allocations: 0 / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.737, allocations: 0 / 1.224 GB, free: 14.52 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001676/0.7371, allocations: 161.5 kB / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.7371, allocations: 0 / 1.225 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.948e-05/0.7372, allocations: 15.98 kB / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.7372, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.222e-06/0.7372, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.7372, allocations: 0 / 1.225 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7372, allocations: 4.031 kB / 1.225 GB, free: 14.29 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002168/0.7375, allocations: 163.4 kB / 1.225 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.7375, allocations: 78.94 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.361e-05/0.7375, allocations: 3.984 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.7376, allocations: 7.938 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.998e-05/0.7376, allocations: 12.03 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.7376, allocations: 0 / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.7377, allocations: 83.27 kB / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7377, allocations: 0 / 1.225 GB, free: 13.92 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002164/0.7379, allocations: 4 kB / 1.225 GB, free: 13.91 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001455/0.7381, allocations: 95.25 kB / 1.225 GB, free: 13.81 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002108/0.7383, allocations: 43.89 kB / 1.225 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.7383, allocations: 4 kB / 1.225 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 7.83e-05/0.7384, allocations: 15.98 kB / 1.225 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002759/0.7387, allocations: 11.88 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.739, allocations: 143.7 kB / 1.225 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.7392, allocations: 0.6768 MB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.919e-05/0.7392, allocations: 11.56 kB / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.7392, allocations: 0 / 1.226 GB, free: 12.85 MB / 0.9512 GB Notification: Performance of Templates: time 0.001817/0.7411, allocations: 0.5402 MB / 1.226 GB, free: 12.31 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Sin.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Sin.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches