Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.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.001335/0.001335, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001172/0.001172, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9192/0.9192, allocations: 177.1 MB / 203.4 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.08/2.08, allocations: 429.5 MB / 0.6733 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Exp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Exp1.u|Exp1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 4.188e-06/4.188e-06, allocations: 0 / 0.8782 GB, free: 6.238 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.548e-05/3.967e-05, allocations: 5.781 kB / 0.8782 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Exp): time 0.001683/0.001723, allocations: 0.6816 MB / 0.8789 GB, free: 5.574 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009786/0.002701, allocations: 0.8573 MB / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.942e-05/0.002741, allocations: 0 / 0.8798 GB, free: 4.707 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.332e-05/0.002774, allocations: 3.938 kB / 0.8798 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.507e-05/0.002859, allocations: 10.25 kB / 0.8798 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000271/0.00313, allocations: 9.734 kB / 0.8798 GB, free: 4.688 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 9.15e-05/0.003222, allocations: 21.03 kB / 0.8798 GB, free: 4.668 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.003344, allocations: 11.97 kB / 0.8798 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 9.319e-05/0.003437, allocations: 11.94 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 4.074e-05/0.003478, allocations: 13.27 kB / 0.8798 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.003496, allocations: 4 kB / 0.8798 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.325e-05/0.00355, allocations: 11.94 kB / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.506e-05/0.003565, allocations: 0 / 0.8798 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.003592, allocations: 8.703 kB / 0.8799 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.003724, allocations: 23.91 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.003729, allocations: 0.6562 kB / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.903e-06/0.003731, allocations: 0 / 0.8799 GB, free: 4.586 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.003737, allocations: 1.594 kB / 0.8799 GB, free: 4.586 MB / 0.8386 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.0004494/0.004186, allocations: 356.7 kB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.004237, allocations: 8.031 kB / 0.8802 GB, free: 4.191 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.004411, allocations: 4.938 kB / 0.8802 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.004527, allocations: 118.5 kB / 0.8803 GB, free: 4.047 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.004546, allocations: 4.375 kB / 0.8803 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.009e-05/0.004556, allocations: 384 / 0.8803 GB, free: 4.043 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.004702, allocations: 54.95 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.004711, allocations: 4.125 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.004725, allocations: 2.875 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.004734, allocations: 384 / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.188e-05/0.004776, allocations: 15.91 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.005177, allocations: 243.9 kB / 0.8807 GB, free: 3.688 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.26e-05/0.00526, allocations: 27.06 kB / 0.8807 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.724e-05/0.005287, allocations: 11.75 kB / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.349e-05/0.00531, allocations: 0.7188 kB / 0.8807 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.513e-05/0.005346, allocations: 42.67 kB / 0.8807 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 2.595e-06/0.005348, allocations: 0 / 0.8807 GB, free: 3.582 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002339/0.005582, allocations: 45.62 kB / 0.8808 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.005627, allocations: 51.53 kB / 0.8808 GB, free: 3.469 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.965e-05/0.005727, allocations: 165.9 kB / 0.881 GB, free: 3.289 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.005741, allocations: 25.7 kB / 0.881 GB, free: 3.258 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.328e-05/0.005804, allocations: 126.9 kB / 0.8811 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.005832, allocations: 7.953 kB / 0.8811 GB, free: 3.121 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.479e-05/0.005867, allocations: 19.38 kB / 0.8812 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.006032, allocations: 496.1 kB / 0.8816 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.473e-05/0.006057, allocations: 3.984 kB / 0.8816 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.006071, allocations: 3.938 kB / 0.8816 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.468e-05/0.006115, allocations: 15.69 kB / 0.8817 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.006119, allocations: 8.062 kB / 0.8817 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.502e-05/0.006204, allocations: 37.66 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.523e-05/0.006229, allocations: 7.938 kB / 0.8817 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.006247, allocations: 3.938 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/0.00627, allocations: 0 / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001363/0.006407, allocations: 11.98 kB / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.006416, allocations: 0 / 0.8817 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.182e-05/0.006438, allocations: 4 kB / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.006447, allocations: 0 / 0.8817 GB, free: 2.492 MB / 0.8386 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 9.764e-05/0.006544, allocations: 168.5 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.561e-05/0.00656, allocations: 0 / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001228/0.006683, allocations: 48.94 kB / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.006685, allocations: 0 / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.006691, allocations: 0 / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.057e-06/0.006695, allocations: 0 / 0.8819 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.00681, allocations: 112.6 kB / 0.882 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.006812, allocations: 0 / 0.882 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.463e-05/0.006856, allocations: 11.98 kB / 0.882 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.006859, allocations: 0 / 0.882 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.854e-06/0.006867, allocations: 0 / 0.882 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.006871, allocations: 7.969 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.006873, allocations: 0 / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.007, allocations: 187.9 kB / 0.8822 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.192e-05/0.007012, allocations: 7.938 kB / 0.8822 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.007025, allocations: 0 / 0.8822 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.661e-05/0.007062, allocations: 7.938 kB / 0.8823 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.379e-05/0.007116, allocations: 4 kB / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.00712, allocations: 0 / 0.8823 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.509e-05/0.007175, allocations: 127.2 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.007175, allocations: 0 / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001469/0.007322, allocations: 8.031 kB / 0.8824 GB, free: 1.742 MB / 0.8386 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.0001467/0.007468, allocations: 91.25 kB / 0.8825 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.007583, allocations: 19.69 kB / 0.8825 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.007585, allocations: 3.938 kB / 0.8825 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.985e-05/0.007605, allocations: 15.67 kB / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.007852, allocations: 0 / 0.8825 GB, free: 1.598 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003842/0.008237, allocations: 122.5 kB / 0.8826 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.09e-05/0.008277, allocations: 55.36 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.139e-05/0.008299, allocations: 3.938 kB / 0.8827 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.59e-05/0.008335, allocations: 8.5 kB / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of SimCode: time 8.52e-07/0.008336, allocations: 0 / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of Templates: time 0.003148/0.01148, allocations: 0.498 MB / 0.8832 GB, free: 0.875 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Exp_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Exp.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.270308184903115]