Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.00134/0.00134, 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.001808/0.001808, 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.9451/0.9451, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.173/2.173, allocations: 429.5 MB / 0.6732 GB, free: 4.043 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.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cos1.u|cos1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.416e-06/3.416e-06, allocations: 0 / 0.8782 GB, free: 6.27 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.31e-05/3.652e-05, allocations: 4.984 kB / 0.8782 GB, free: 6.266 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001666/0.001703, allocations: 0.6897 MB / 0.8789 GB, free: 5.598 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009404/0.002643, allocations: 0.8655 MB / 0.8798 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.55e-05/0.002679, allocations: 0 / 0.8798 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.002728, allocations: 5.844 kB / 0.8798 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 8.138e-05/0.002809, allocations: 5.094 kB / 0.8798 GB, free: 4.715 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002269/0.003036, allocations: 16.95 kB / 0.8798 GB, free: 4.699 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.832e-05/0.003115, allocations: 19.94 kB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.003222, allocations: 9.328 kB / 0.8798 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 8.038e-05/0.003302, allocations: 11.94 kB / 0.8798 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.867e-05/0.003341, allocations: 11.92 kB / 0.8798 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.83e-05/0.003359, allocations: 4 kB / 0.8798 GB, free: 4.645 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.668e-05/0.003416, allocations: 12.66 kB / 0.8799 GB, free: 4.633 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.003434, allocations: 3.984 kB / 0.8799 GB, free: 4.629 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.674e-05/0.00346, allocations: 13.52 kB / 0.8799 GB, free: 4.617 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001285/0.003589, allocations: 15.98 kB / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.003594, allocations: 0 / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.643e-06/0.003595, allocations: 0 / 0.8799 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.003602, allocations: 2.219 kB / 0.8799 GB, free: 4.602 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.0003993/0.004001, allocations: 360.6 kB / 0.8802 GB, free: 4.211 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.966e-05/0.004051, allocations: 12.03 kB / 0.8802 GB, free: 4.199 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.004194, allocations: 4.922 kB / 0.8802 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.0043, allocations: 112.6 kB / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.004312, allocations: 384 / 0.8804 GB, free: 4.059 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.134e-05/0.004323, allocations: 6.688 kB / 0.8804 GB, free: 4.055 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000149/0.004472, allocations: 50.95 kB / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.004481, allocations: 192 / 0.8804 GB, free: 3.996 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.004492, allocations: 4.312 kB / 0.8804 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.0045, allocations: 4.375 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.014e-05/0.00453, allocations: 7.922 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003343/0.004864, allocations: 244.6 kB / 0.8807 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.134e-05/0.004936, allocations: 32.41 kB / 0.8807 GB, free: 3.664 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.349e-05/0.004959, allocations: 11.67 kB / 0.8807 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.004982, allocations: 0 / 0.8807 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.005019, allocations: 53.38 kB / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.904e-06/0.005021, allocations: 0 / 0.8808 GB, free: 3.586 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002027/0.005224, allocations: 37.64 kB / 0.8808 GB, free: 3.543 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.939e-05/0.005263, allocations: 51.41 kB / 0.8808 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.093e-05/0.005354, allocations: 165.9 kB / 0.881 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.005367, allocations: 25.7 kB / 0.881 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.243e-05/0.005419, allocations: 130.9 kB / 0.8811 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-05/0.005441, allocations: 3.953 kB / 0.8811 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.974e-05/0.005471, allocations: 23.38 kB / 0.8812 GB, free: 3.102 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0003006/0.005771, allocations: 492.1 kB / 0.8816 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.554e-05/0.005797, allocations: 4.109 kB / 0.8816 GB, free: 2.605 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.677e-05/0.005814, allocations: 11.94 kB / 0.8817 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.64e-05/0.00586, allocations: 15.69 kB / 0.8817 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.005863, allocations: 0 / 0.8817 GB, free: 2.574 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.111e-05/0.005944, allocations: 37.66 kB / 0.8817 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.005965, allocations: 4 kB / 0.8817 GB, free: 2.527 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.617e-06/0.005973, allocations: 3.938 kB / 0.8817 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.005993, allocations: 4 kB / 0.8817 GB, free: 2.52 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.006109, allocations: 11.98 kB / 0.8817 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.006116, allocations: 4.094 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.006135, allocations: 3.938 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.006142, allocations: 4 kB / 0.8817 GB, free: 2.496 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 7.208e-05/0.006214, allocations: 160.5 kB / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.00623, allocations: 0 / 0.8819 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001171/0.006347, allocations: 48.94 kB / 0.8819 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.00635, allocations: 0 / 0.8819 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.006354, allocations: 0 / 0.8819 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.006359, allocations: 7.984 kB / 0.8819 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/0.006466, allocations: 112.6 kB / 0.8821 GB, free: 2.121 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.006468, allocations: 4.031 kB / 0.8821 GB, free: 2.117 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.28e-05/0.006511, allocations: 7.984 kB / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.006514, allocations: 0 / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.006521, allocations: 0 / 0.8821 GB, free: 2.109 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.006523, allocations: 3.938 kB / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.006525, allocations: 0 / 0.8821 GB, free: 2.105 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.006637, allocations: 187.9 kB / 0.8822 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.217e-05/0.006649, allocations: 7.938 kB / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.006661, allocations: 0 / 0.8823 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.484e-05/0.006696, allocations: 7.938 kB / 0.8823 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.589e-05/0.006742, allocations: 8.031 kB / 0.8823 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.006747, allocations: 7.938 kB / 0.8823 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.453e-05/0.006792, allocations: 123.2 kB / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.006792, allocations: 0 / 0.8824 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001427/0.006935, allocations: 4 kB / 0.8824 GB, free: 1.746 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.0001275/0.007062, allocations: 91.25 kB / 0.8825 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.00717, allocations: 19.69 kB / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.007172, allocations: 0 / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.345e-05/0.007195, allocations: 23.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.000236/0.007431, allocations: 6.5 kB / 0.8825 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005554/0.007987, allocations: 114.4 kB / 0.8826 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.091e-05/0.008028, allocations: 59.34 kB / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 2.212e-05/0.00805, allocations: 0 / 0.8827 GB, free: 1.375 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.509e-05/0.008085, allocations: 12.5 kB / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of SimCode: time 1.032e-06/0.008086, allocations: 0 / 0.8827 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of Templates: time 0.002592/0.01068, 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.Cos.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.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.50031561171636]