Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 109.4 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 193.3 kB / 20.02 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.522/1.522, allocations: 222.9 MB / 245.7 MB, free: 4.238 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.237/3.237, allocations: 490 MB / 0.7695 GB, free: 3.188 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Average,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|avg1.u1|avg1.u2|avg1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00218/0.00218, allocations: 63.89 kB / 1.104 GB, free: 15.85 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.939/0.9411, allocations: 164 MB / 1.264 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Average): time 0.001688/0.9429, allocations: 0.7054 MB / 1.265 GB, free: 6.941 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0008037/0.9437, allocations: 0.8023 MB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.437e-05/0.9437, allocations: 0.75 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.9438, allocations: 4.719 kB / 1.265 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.664e-05/0.9438, allocations: 9.328 kB / 1.265 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 5.548e-05/0.9439, allocations: 13.98 kB / 1.265 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.869e-05/0.944, allocations: 39.19 kB / 1.265 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.9441, allocations: 10.64 kB / 1.265 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.648e-05/0.9442, allocations: 21.53 kB / 1.265 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.9442, allocations: 27.05 kB / 1.266 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.996e-05/0.9442, allocations: 3.188 kB / 1.266 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.084e-05/0.9443, allocations: 4.156 kB / 1.266 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.9443, allocations: 10.78 kB / 1.266 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 2.925e-05/0.9443, allocations: 18.16 kB / 1.266 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001177/0.9444, allocations: 43.14 kB / 1.266 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.9444, allocations: 0 / 1.266 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.254e-06/0.9445, allocations: 0.7188 kB / 1.266 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.9445, allocations: 0 / 1.266 GB, free: 6.23 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004585/0.9449, allocations: 368.8 kB / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.945, allocations: 9.594 kB / 1.266 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.314e-05/0.945, allocations: 7.562 kB / 1.266 GB, free: 5.855 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.432e-05/0.9451, allocations: 168.2 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.9451, allocations: 1.219 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.018e-05/0.9451, allocations: 2.531 kB / 1.266 GB, free: 5.656 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.9454, allocations: 73.12 kB / 1.266 GB, free: 5.613 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.9454, allocations: 4.188 kB / 1.266 GB, free: 5.609 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.9454, allocations: 8.859 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.319e-06/0.9454, allocations: 0.9062 kB / 1.266 GB, free: 5.602 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000299/0.9457, allocations: 65.58 kB / 1.266 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002847/0.946, allocations: 267.7 kB / 1.267 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.9462, allocations: 66.05 kB / 1.267 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.9464, allocations: 37.92 kB / 1.267 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.9464, allocations: 0 / 1.267 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.496e-05/0.9464, allocations: 32.3 kB / 1.267 GB, free: 5.215 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.9464, allocations: 4 kB / 1.267 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3): time 0.0005367/0.947, allocations: 128.4 kB / 1.267 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.816e-05/0.947, allocations: 53.06 kB / 1.267 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.074e-05/0.9471, allocations: 110.8 kB / 1.267 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 7.665e-06/0.9471, allocations: 25.7 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.416e-05/0.9471, allocations: 91.34 kB / 1.267 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.9471, allocations: 14.91 kB / 1.267 GB, free: 4.863 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.9472, allocations: 13 kB / 1.267 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.272e-05/0.9472, allocations: 318 kB / 1.267 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001525/0.9474, allocations: 31.16 kB / 1.267 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.9475, allocations: 35.12 kB / 1.267 GB, free: 4.52 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002838/0.9478, allocations: 66.36 kB / 1.268 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.9478, allocations: 7.875 kB / 1.268 GB, free: 4.496 MB / 0.9981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003309/0.9482, allocations: 102 kB / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.613e-05/0.9482, allocations: 5.469 kB / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.9482, allocations: 0 / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.9482, allocations: 1.672 kB / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.9484, allocations: 18.78 kB / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.9484, allocations: 0.8125 kB / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-05/0.9485, allocations: 11.42 kB / 1.268 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.344e-06/0.9485, allocations: 0.875 kB / 1.268 GB, free: 4.445 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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 4.931e-05/0.9485, allocations: 120.4 kB / 1.268 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.9486, allocations: 2.891 kB / 1.268 GB, free: 4.32 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.9486, allocations: 5.484 kB / 1.268 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.554e-06/0.9486, allocations: 1.734 kB / 1.268 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.9486, allocations: 0 / 1.268 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.9486, allocations: 0.9062 kB / 1.268 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.9487, allocations: 174.7 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.9487, allocations: 0 / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.9489, allocations: 15.62 kB / 1.268 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.9489, allocations: 8.781 kB / 1.268 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.824e-06/0.9489, allocations: 0.75 kB / 1.268 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.9489, allocations: 0.6094 kB / 1.268 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9489, allocations: 0.8438 kB / 1.268 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.9492, allocations: 206 kB / 1.268 GB, free: 3.945 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.9493, allocations: 83.19 kB / 1.268 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.9493, allocations: 0.9062 kB / 1.268 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.9494, allocations: 12.06 kB / 1.268 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.243e-05/0.9495, allocations: 7.641 kB / 1.268 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.9495, allocations: 1.312 kB / 1.268 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.936e-05/0.9495, allocations: 87.66 kB / 1.268 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9495, allocations: 0 / 1.268 GB, free: 3.766 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002167/0.9497, allocations: 5.625 kB / 1.268 GB, free: 3.766 MB / 0.9981 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 (3): * Single equations (assignments): 3 * 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.0001197/0.9498, allocations: 103.2 kB / 1.268 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003675/0.9502, allocations: 67.06 kB / 1.269 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.9502, allocations: 0.6875 kB / 1.269 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/0.9504, allocations: 38.02 kB / 1.269 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.9507, allocations: 16.55 kB / 1.269 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002698/0.951, allocations: 148.5 kB / 1.269 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.637e-05/0.9511, allocations: 0.68 MB / 1.269 GB, free: 2.801 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.223e-05/0.9511, allocations: 13.19 kB / 1.269 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of SimCode: time 2.61e-07/0.9511, allocations: 0 / 1.269 GB, free: 2.789 MB / 0.9981 GB Notification: Performance of Templates: time 0.002459/0.9536, allocations: 0.7484 MB / 1.27 GB, free: 2.746 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Average.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Average.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: 11.592280247947201]