Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.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.00111/0.00111, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001197/0.001197, allocations: 173 kB / 23.49 MB, free: 1.059 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.9788/0.9788, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.132/2.132, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 0.875 kB / 0.8781 GB, free: 6.688 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.921e-05/3.114e-05, allocations: 5.672 kB / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002207/0.002239, allocations: 0.7393 MB / 0.8789 GB, free: 5.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.003733, allocations: 1.585 MB / 0.8804 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.757e-05/0.00378, allocations: 0 / 0.8804 GB, free: 4.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.00381, allocations: 15.78 kB / 0.8804 GB, free: 4.355 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001566/0.003966, allocations: 19.84 kB / 0.8804 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003027/0.004269, allocations: 167.3 kB / 0.8806 GB, free: 4.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.0044, allocations: 123.6 kB / 0.8807 GB, free: 4.051 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.897e-05/0.004489, allocations: 11.98 kB / 0.8807 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.004645, allocations: 69.36 kB / 0.8808 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/0.004717, allocations: 43.88 kB / 0.8808 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.004738, allocations: 12 kB / 0.8809 GB, free: 3.918 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001437/0.004881, allocations: 119.8 kB / 0.881 GB, free: 3.801 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.531e-05/0.004907, allocations: 32.83 kB / 0.881 GB, free: 3.77 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.902e-05/0.004946, allocations: 31.92 kB / 0.881 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.005164, allocations: 195.4 kB / 0.8812 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.005168, allocations: 1.125 kB / 0.8812 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005169, allocations: 0 / 0.8812 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.005173, allocations: 0 / 0.8812 GB, free: 3.547 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00052/0.005693, allocations: 462.1 kB / 0.8817 GB, free: 3.062 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.005729, allocations: 12.03 kB / 0.8817 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002284/0.005958, allocations: 37.59 kB / 0.8817 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.177e-05/0.006049, allocations: 122.2 kB / 0.8818 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.00611, allocations: 63.95 kB / 0.8819 GB, free: 2.797 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.006125, allocations: 8.312 kB / 0.8819 GB, free: 2.789 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.006262, allocations: 113.9 kB / 0.882 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.054e-06/0.006269, allocations: 0.6875 kB / 0.882 GB, free: 2.656 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.006282, allocations: 8.125 kB / 0.882 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.006289, allocations: 5.719 kB / 0.882 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.753e-05/0.006346, allocations: 23.98 kB / 0.882 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004388/0.006785, allocations: 0.5767 MB / 0.8826 GB, free: 2 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003036/0.007089, allocations: 146.2 kB / 0.8827 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.559e-05/0.007134, allocations: 44.73 kB / 0.8828 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.693e-05/0.007151, allocations: 0 / 0.8828 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001344/0.007286, allocations: 120.1 kB / 0.8829 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=11): time 9.71e-07/0.007287, allocations: 2.844 kB / 0.8829 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of matching and sorting (n=11): time 0.0002202/0.007507, allocations: 113.7 kB / 0.883 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.007564, allocations: 114.7 kB / 0.8831 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.654e-05/0.007651, allocations: 181.9 kB / 0.8833 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.443e-05/0.007665, allocations: 29.7 kB / 0.8833 GB, free: 1.137 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.453e-05/0.00772, allocations: 147.1 kB / 0.8835 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.405e-05/0.007744, allocations: 27.75 kB / 0.8835 GB, free: 0.957 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.00779, allocations: 41.05 kB / 0.8835 GB, free: 0.9102 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.007908, allocations: 0.4884 MB / 0.884 GB, free: 420 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.998e-05/0.007968, allocations: 24.05 kB / 0.884 GB, free: 396 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.799e-05/0.008006, allocations: 19.98 kB / 0.884 GB, free: 376 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.449e-05/0.00809, allocations: 63.75 kB / 0.8841 GB, free: 312 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.008093, allocations: 3.938 kB / 0.8841 GB, free: 308 kB / 0.8386 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001304/0.008224, allocations: 110.3 kB / 0.8842 GB, free: 192 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.008235, allocations: 4 kB / 0.8842 GB, free: 188 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.008239, allocations: 4.75 kB / 0.8842 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.00825, allocations: 128 / 0.8842 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.254e-05/0.008322, allocations: 23.98 kB / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.008327, allocations: 0 / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.995e-05/0.008367, allocations: 15.89 kB / 0.8843 GB, free: 144 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.008376, allocations: 8.172 kB / 0.8843 GB, free: 136 kB / 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: 7 (dayCon.not1.y,dayCon.sunRiseSet.nextSunSet,$PRE.dayCon.sunRiseSet.nextSunSet,dayCon.sunRiseSet.nextSunRise,$PRE.dayCon.sunRiseSet.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 8.363e-05/0.00846, allocations: 172.4 kB / 0.8844 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.661e-05/0.008476, allocations: 11.95 kB / 0.8844 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001552/0.008632, allocations: 102 kB / 0.8845 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.008635, allocations: 4 kB / 0.8845 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.008638, allocations: 4 kB / 0.8845 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.008642, allocations: 0 / 0.8845 GB, free: 15.83 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001054/0.008747, allocations: 156.5 kB / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.00875, allocations: 7.938 kB / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.755e-05/0.008798, allocations: 15.98 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.008801, allocations: 4 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.008808, allocations: 0 / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.008811, allocations: 4 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.008812, allocations: 0 / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001525/0.008964, allocations: 175.6 kB / 0.8849 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.83e-05/0.009003, allocations: 31.77 kB / 0.8849 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.713e-05/0.00902, allocations: 8 kB / 0.8849 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.705e-05/0.009057, allocations: 12.05 kB / 0.8849 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.009095, allocations: 11.98 kB / 0.885 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.009102, allocations: 4 kB / 0.885 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.95e-05/0.009152, allocations: 142 kB / 0.8851 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009152, allocations: 0 / 0.8851 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001842/0.009336, allocations: 71.73 kB / 0.8852 GB, free: 15.13 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet,dayCon.not1.y) * Number of discrete states: 2 (dayCon.sunRiseSet.nextSunRise,dayCon.sunRiseSet.nextSunSet) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001965/0.009533, allocations: 182.9 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001414/0.009674, allocations: 83.56 kB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.009676, allocations: 0 / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.632e-05/0.009732, allocations: 43.61 kB / 0.8855 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.009884, allocations: 23.03 kB / 0.8855 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005449/0.01043, allocations: 236.7 kB / 0.8857 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.523e-05/0.01046, allocations: 67.34 kB / 0.8858 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.443e-05/0.01051, allocations: 16.48 kB / 0.8858 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.01054, allocations: 24.44 kB / 0.8858 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of SimCode: time 6.41e-07/0.01055, allocations: 0 / 0.8858 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.003437/0.01398, allocations: 1.983 MB / 0.8877 GB, free: 12.45 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.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.5473541531246156]