Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001543/0.001543, allocations: 93.06 kB / 19.65 MB, free: 280 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.001714/0.001714, allocations: 173.3 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.9553/0.9553, allocations: 177.1 MB / 203.4 MB, free: 5.613 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.008/2.008, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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.Log,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|log1.u|log1.y",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.063e-06/2.063e-06, allocations: 0 / 0.8782 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/2.002e-05, allocations: 6 kB / 0.8782 GB, free: 6.223 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Log): time 0.001356/0.001376, allocations: 0.6851 MB / 0.8789 GB, free: 5.559 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003949/0.005325, allocations: 0.8703 MB / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.502e-05/0.00536, allocations: 0 / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.068e-05/0.005391, allocations: 0 / 0.8798 GB, free: 4.68 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.663e-05/0.005468, allocations: 6.516 kB / 0.8798 GB, free: 4.676 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001848/0.005652, allocations: 12.5 kB / 0.8798 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 7.966e-05/0.005732, allocations: 24.36 kB / 0.8798 GB, free: 4.641 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.725e-05/0.005819, allocations: 5.094 kB / 0.8798 GB, free: 4.637 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.474e-05/0.005894, allocations: 15.92 kB / 0.8798 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 3.408e-05/0.005928, allocations: 7.984 kB / 0.8798 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.005943, allocations: 4.656 kB / 0.8798 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.478e-05/0.005988, allocations: 9.625 kB / 0.8798 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.51e-05/0.006003, allocations: 3.984 kB / 0.8799 GB, free: 4.598 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.015e-05/0.006023, allocations: 8 kB / 0.8799 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.006123, allocations: 19.91 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.224e-06/0.006126, allocations: 0 / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.72e-07/0.006126, allocations: 3.656 kB / 0.8799 GB, free: 4.57 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.426e-06/0.00613, allocations: 0 / 0.8799 GB, free: 4.57 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.0003837/0.006513, allocations: 356.7 kB / 0.8802 GB, free: 4.184 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.006554, allocations: 12.03 kB / 0.8802 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001016/0.006655, allocations: 4.938 kB / 0.8802 GB, free: 4.168 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.305e-05/0.006748, allocations: 124.4 kB / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/0.006761, allocations: 384 / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.966e-06/0.00677, allocations: 384 / 0.8804 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001288/0.006899, allocations: 50.95 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.006908, allocations: 1.125 kB / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.006918, allocations: 384 / 0.8804 GB, free: 3.961 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.006926, allocations: 4.375 kB / 0.8804 GB, free: 3.957 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.366e-05/0.00696, allocations: 9 kB / 0.8804 GB, free: 3.949 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002871/0.007247, allocations: 243.8 kB / 0.8807 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001611/0.007408, allocations: 40.09 kB / 0.8807 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.141e-05/0.007429, allocations: 7.688 kB / 0.8807 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.735e-05/0.007447, allocations: 0 / 0.8807 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.318e-05/0.00747, allocations: 38.27 kB / 0.8807 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.007471, allocations: 0 / 0.8807 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001622/0.007633, allocations: 50.47 kB / 0.8808 GB, free: 3.512 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.007667, allocations: 55.06 kB / 0.8808 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.618e-05/0.007743, allocations: 153.9 kB / 0.881 GB, free: 3.281 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.002e-05/0.007753, allocations: 25.7 kB / 0.881 GB, free: 3.25 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.0078, allocations: 138.9 kB / 0.8811 GB, free: 3.109 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.007817, allocations: 3.953 kB / 0.8811 GB, free: 3.105 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.762e-05/0.007845, allocations: 19.38 kB / 0.8812 GB, free: 3.078 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 9.314e-05/0.007938, allocations: 496.1 kB / 0.8816 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.258e-05/0.007951, allocations: 0 / 0.8816 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.397e-06/0.00796, allocations: 4 kB / 0.8816 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.708e-05/0.007987, allocations: 16.33 kB / 0.8817 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.007989, allocations: 3.938 kB / 0.8817 GB, free: 2.555 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.512e-05/0.008034, allocations: 46.19 kB / 0.8817 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.008047, allocations: 4.594 kB / 0.8817 GB, free: 2.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.008052, allocations: 9 kB / 0.8817 GB, free: 2.492 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.008065, allocations: 4 kB / 0.8817 GB, free: 2.488 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.272e-05/0.008128, allocations: 7.984 kB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.388e-06/0.008132, allocations: 1.531 kB / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.486e-05/0.008147, allocations: 0 / 0.8817 GB, free: 2.48 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.008152, allocations: 4 kB / 0.8817 GB, free: 2.477 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 5.398e-05/0.008206, allocations: 152.8 kB / 0.8819 GB, free: 2.316 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.122e-05/0.008217, allocations: 4 kB / 0.8819 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.336e-05/0.008301, allocations: 48.94 kB / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.008302, allocations: 0 / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.008305, allocations: 0 / 0.8819 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.008308, allocations: 4 kB / 0.8819 GB, free: 2.254 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.609e-05/0.008394, allocations: 124.7 kB / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.008395, allocations: 0 / 0.8821 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.231e-05/0.008417, allocations: 4 kB / 0.8821 GB, free: 2.094 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.008421, allocations: 3.984 kB / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.008427, allocations: 0 / 0.8821 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.00843, allocations: 11.95 kB / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.008431, allocations: 0 / 0.8821 GB, free: 2.078 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.676e-05/0.008507, allocations: 184 kB / 0.8822 GB, free: 1.879 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.65e-06/0.008513, allocations: 3.953 kB / 0.8822 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-06/0.008522, allocations: 0 / 0.8822 GB, free: 1.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.074e-05/0.008552, allocations: 11.92 kB / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.246e-05/0.008585, allocations: 0 / 0.8823 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.008588, allocations: 4 kB / 0.8823 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 3.197e-05/0.00862, allocations: 123.2 kB / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.00862, allocations: 0 / 0.8824 GB, free: 1.738 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001317/0.008752, allocations: 8.031 kB / 0.8824 GB, free: 1.73 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 6.741e-05/0.008819, allocations: 99.19 kB / 0.8825 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.538e-05/0.008895, allocations: 15.69 kB / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.008896, allocations: 0 / 0.8825 GB, free: 1.605 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.621e-05/0.008912, allocations: 11.69 kB / 0.8825 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001715/0.009084, allocations: 7.984 kB / 0.8825 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.009322, allocations: 122.4 kB / 0.8826 GB, free: 1.434 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.111e-05/0.009353, allocations: 55.36 kB / 0.8827 GB, free: 1.359 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 1.346e-05/0.009367, allocations: 3.938 kB / 0.8827 GB, free: 1.355 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.276e-05/0.009389, allocations: 8.5 kB / 0.8827 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of SimCode: time 5.51e-07/0.00939, allocations: 0 / 0.8827 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of Templates: time 0.002074/0.01146, allocations: 0.5011 MB / 0.8832 GB, free: 0.8555 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Log_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Log.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.228662641718984]