Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001428/0.001428, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.00174/0.00174, allocations: 161 kB / 23.82 MB, free: 0.7539 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.995/0.995, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.897/1.897, allocations: 377.8 MB / 0.6236 GB, free: 8.559 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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_12_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_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.8115 GB, free: 1.781 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.734e-05/2.899e-05, allocations: 6.25 kB / 0.8115 GB, free: 1.773 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001431/0.00146, allocations: 0.7302 MB / 0.8122 GB, free: 1.062 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.003444, allocations: 1.602 MB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.072e-05/0.003494, allocations: 1.188 kB / 0.8138 GB, free: 15.45 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 3.088e-05/0.003525, allocations: 3.938 kB / 0.8138 GB, free: 15.44 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001586/0.003684, allocations: 23.78 kB / 0.8138 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003041/0.003988, allocations: 172.8 kB / 0.814 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.004111, allocations: 118.2 kB / 0.8141 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.338e-05/0.004195, allocations: 15.98 kB / 0.8141 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.004357, allocations: 75.88 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.939e-05/0.004427, allocations: 35.88 kB / 0.8142 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.004447, allocations: 12 kB / 0.8142 GB, free: 15 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.004595, allocations: 116.6 kB / 0.8143 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.004621, allocations: 27.91 kB / 0.8143 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.882e-05/0.00466, allocations: 36.44 kB / 0.8144 GB, free: 14.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002869/0.004947, allocations: 191.4 kB / 0.8146 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.00495, allocations: 5.641 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.052e-06/0.004951, allocations: 0 / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004955, allocations: 0 / 0.8146 GB, free: 14.63 MB / 0.7761 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.0005372/0.005492, allocations: 457.7 kB / 0.815 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.464e-05/0.005537, allocations: 8.031 kB / 0.815 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000232/0.005769, allocations: 45.86 kB / 0.8151 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001563/0.005925, allocations: 136.6 kB / 0.8152 GB, free: 13.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-05/0.005987, allocations: 65.28 kB / 0.8153 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.006001, allocations: 8.375 kB / 0.8153 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.006146, allocations: 106 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.006154, allocations: 192 / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.006167, allocations: 9.812 kB / 0.8154 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.006177, allocations: 4 kB / 0.8154 GB, free: 13.72 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.985e-05/0.006237, allocations: 31.89 kB / 0.8154 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004593/0.006696, allocations: 0.5845 MB / 0.816 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.006996, allocations: 143.3 kB / 0.8161 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.007039, allocations: 35.16 kB / 0.8161 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.007055, allocations: 9.984 kB / 0.8162 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.007315, allocations: 124 kB / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.242e-06/0.007316, allocations: 0 / 0.8163 GB, free: 12.68 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002205/0.007537, allocations: 109.5 kB / 0.8164 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.007577, allocations: 103.4 kB / 0.8165 GB, free: 12.45 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.883e-05/0.007656, allocations: 181.9 kB / 0.8166 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.007673, allocations: 36.17 kB / 0.8167 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.829e-05/0.007721, allocations: 143.1 kB / 0.8168 GB, free: 12.06 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.363e-05/0.007745, allocations: 31.81 kB / 0.8169 GB, free: 12.03 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.227e-05/0.007787, allocations: 43.36 kB / 0.8169 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.858e-05/0.007885, allocations: 0.4923 MB / 0.8174 GB, free: 11.48 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.368e-05/0.007939, allocations: 19.92 kB / 0.8174 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.437e-05/0.007973, allocations: 28.33 kB / 0.8174 GB, free: 11.43 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.451e-05/0.008048, allocations: 51.67 kB / 0.8175 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.008052, allocations: 3.938 kB / 0.8175 GB, free: 11.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001249/0.008177, allocations: 107.3 kB / 0.8176 GB, free: 11.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.008189, allocations: 7.984 kB / 0.8176 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.008194, allocations: 0.5312 kB / 0.8176 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.008207, allocations: 0.5625 kB / 0.8176 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.622e-05/0.008283, allocations: 29.7 kB / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.008288, allocations: 0 / 0.8176 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.968e-05/0.008328, allocations: 11.94 kB / 0.8176 GB, free: 11.22 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.008336, allocations: 4 kB / 0.8176 GB, free: 11.21 MB / 0.7761 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.389e-05/0.00842, allocations: 169.4 kB / 0.8178 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.563e-05/0.008446, allocations: 15.95 kB / 0.8178 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.008605, allocations: 113.8 kB / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.008608, allocations: 4 kB / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.008613, allocations: 0 / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.008617, allocations: 0 / 0.8179 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.008729, allocations: 160.5 kB / 0.8181 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.008732, allocations: 3.938 kB / 0.8181 GB, free: 10.71 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.00878, allocations: 23.92 kB / 0.8181 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.008783, allocations: 0 / 0.8181 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.008794, allocations: 9.875 kB / 0.8181 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.008796, allocations: 3.984 kB / 0.8181 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.008797, allocations: 0 / 0.8181 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.008942, allocations: 163.7 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.672e-05/0.008979, allocations: 31.81 kB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.008994, allocations: 4.969 kB / 0.8183 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.831e-05/0.009032, allocations: 11.98 kB / 0.8183 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.782e-05/0.00907, allocations: 11.98 kB / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.273e-06/0.009077, allocations: 5.062 kB / 0.8183 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.441e-05/0.009121, allocations: 137.2 kB / 0.8185 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.009121, allocations: 0 / 0.8185 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001831/0.009305, allocations: 76.83 kB / 0.8185 GB, free: 10.21 MB / 0.7761 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.0002104/0.009515, allocations: 176 kB / 0.8187 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001432/0.009658, allocations: 82.25 kB / 0.8188 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.00966, allocations: 4 kB / 0.8188 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.647e-05/0.009716, allocations: 44.39 kB / 0.8188 GB, free: 9.902 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.009869, allocations: 21.23 kB / 0.8188 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.01043, allocations: 235.8 kB / 0.8191 GB, free: 9.613 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.918e-05/0.01047, allocations: 63.34 kB / 0.8191 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.578e-05/0.01052, allocations: 9.844 kB / 0.8191 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.01056, allocations: 25.2 kB / 0.8192 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of SimCode: time 8.21e-07/0.01056, allocations: 2.469 kB / 0.8192 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.004072/0.01463, allocations: 2.162 MB / 0.8213 GB, free: 7.375 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/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.3128717709332705]