Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002561/0.002561, allocations: 87.69 kB / 20.24 MB, free: 4.188 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003096/0.003096, allocations: 161.7 kB / 23.55 MB, free: 0.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.744/1.744, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.019/3.019, allocations: 377.8 MB / 0.6232 GB, free: 8.531 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.8109 GB, free: 2.039 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.718e-05/2.922e-05, allocations: 2.312 kB / 0.8109 GB, free: 2.035 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001902/0.001931, allocations: 0.6738 MB / 0.8115 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.003108, allocations: 0.8471 MB / 0.8124 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.658e-05/0.003145, allocations: 3.938 kB / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 2.246e-05/0.003167, allocations: 0 / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 6.813e-05/0.003236, allocations: 0 / 0.8124 GB, free: 0.5234 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001711/0.003407, allocations: 17.45 kB / 0.8124 GB, free: 0.5078 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 8.374e-05/0.00349, allocations: 23.92 kB / 0.8124 GB, free: 496 kB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 8.52e-05/0.003576, allocations: 4 kB / 0.8124 GB, free: 492 kB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 8.28e-05/0.003658, allocations: 19.91 kB / 0.8124 GB, free: 472 kB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 3.828e-05/0.003697, allocations: 8.656 kB / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.003723, allocations: 0 / 0.8124 GB, free: 464 kB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 4.451e-05/0.003768, allocations: 4.5 kB / 0.8124 GB, free: 460 kB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.003787, allocations: 5.109 kB / 0.8124 GB, free: 456 kB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 2.513e-05/0.003812, allocations: 8 kB / 0.8125 GB, free: 448 kB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0001132/0.003925, allocations: 31.83 kB / 0.8125 GB, free: 416 kB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.003928, allocations: 4.531 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003928, allocations: 1.375 kB / 0.8125 GB, free: 412 kB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.003932, allocations: 0 / 0.8125 GB, free: 412 kB / 0.7605 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.0005438/0.004476, allocations: 356.3 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.004517, allocations: 8.031 kB / 0.8128 GB, free: 8 kB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.004629, allocations: 10.05 kB / 0.8128 GB, free: 0 / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.004775, allocations: 104.6 kB / 0.8129 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.00479, allocations: 4.375 kB / 0.813 GB, free: 15.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-06/0.004798, allocations: 5.25 kB / 0.813 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.004946, allocations: 42.25 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.004955, allocations: 1.094 kB / 0.813 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.004966, allocations: 4.359 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.00497, allocations: 1.406 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.005087, allocations: 27.92 kB / 0.813 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003807/0.005467, allocations: 249.1 kB / 0.8133 GB, free: 15.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001191/0.005586, allocations: 47.03 kB / 0.8133 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.025e-05/0.005657, allocations: 11.75 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.005679, allocations: 5.938 kB / 0.8133 GB, free: 15.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.149e-05/0.005721, allocations: 41.38 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=2): time 3.336e-06/0.005724, allocations: 3.984 kB / 0.8134 GB, free: 15.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2): time 0.0002859/0.00601, allocations: 67.27 kB / 0.8134 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.006057, allocations: 55.34 kB / 0.8135 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.006186, allocations: 165.9 kB / 0.8136 GB, free: 15.06 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.006206, allocations: 25.7 kB / 0.8137 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.006287, allocations: 131.8 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.006303, allocations: 3.953 kB / 0.8138 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.564e-05/0.006349, allocations: 23.36 kB / 0.8138 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002781/0.006627, allocations: 0.4928 MB / 0.8143 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.357e-05/0.006681, allocations: 4.5 kB / 0.8143 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.883e-05/0.006729, allocations: 16.52 kB / 0.8143 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000101/0.00683, allocations: 28.83 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.006832, allocations: 0.5 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001463/0.006978, allocations: 54.53 kB / 0.8144 GB, free: 14.25 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.311e-05/0.006991, allocations: 7.938 kB / 0.8144 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.006998, allocations: 4.781 kB / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.007011, allocations: 0 / 0.8144 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.684e-05/0.007088, allocations: 13.27 kB / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.007093, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.9e-05/0.007122, allocations: 0 / 0.8144 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.00713, allocations: 4.844 kB / 0.8144 GB, free: 14.22 MB / 0.7761 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 0.0001116/0.007241, allocations: 152.6 kB / 0.8146 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.551e-05/0.007267, allocations: 5.062 kB / 0.8146 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.007449, allocations: 66.3 kB / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.157e-05/0.007461, allocations: 0 / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.007466, allocations: 0 / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.00747, allocations: 0 / 0.8146 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.007637, allocations: 122 kB / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.007638, allocations: 0 / 0.8148 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.005e-05/0.007688, allocations: 15.92 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.00769, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.007697, allocations: 2.969 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.007701, allocations: 3.938 kB / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.007702, allocations: 0 / 0.8148 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.007955, allocations: 203.9 kB / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-06/0.007961, allocations: 0 / 0.815 GB, free: 13.6 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.589e-05/0.007976, allocations: 7.984 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.116e-05/0.008038, allocations: 4.438 kB / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.008076, allocations: 0 / 0.815 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-06/0.008079, allocations: 5.031 kB / 0.815 GB, free: 13.58 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.05e-05/0.008159, allocations: 131.2 kB / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.00816, allocations: 0 / 0.8151 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002224/0.008382, allocations: 5.156 kB / 0.8151 GB, free: 13.45 MB / 0.7761 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.0001282/0.00851, allocations: 91.75 kB / 0.8152 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.008713, allocations: 40.83 kB / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.008715, allocations: 0 / 0.8153 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 8.295e-05/0.008798, allocations: 20.58 kB / 0.8153 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003265/0.009124, allocations: 9.344 kB / 0.8153 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004488/0.009573, allocations: 114.5 kB / 0.8154 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.009688, allocations: 63.2 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.728e-05/0.009726, allocations: 5.031 kB / 0.8155 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.009772, allocations: 8.5 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of SimCode: time 6.01e-07/0.009773, allocations: 0.5 kB / 0.8155 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of Templates: time 0.00336/0.01313, allocations: 488.6 kB / 0.8159 GB, free: 12.58 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Log.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Log.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.25344454194419]