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.001034/0.001034, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001564/0.001564, allocations: 161.4 kB / 24.16 MB, free: 332 kB / 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 1.016/1.016, allocations: 177.1 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.895/1.895, allocations: 377.9 MB / 0.624 GB, free: 8.371 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.543e-06/1.543e-06, allocations: 0 / 0.76 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.862e-05/2.016e-05, allocations: 2.312 kB / 0.76 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001322/0.001342, allocations: 0.734 MB / 0.7607 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001708/0.00305, allocations: 1.602 MB / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.003117, allocations: 0 / 0.7622 GB, free: 4.359 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.533e-05/0.003152, allocations: 7.938 kB / 0.7623 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0002057/0.003358, allocations: 26.41 kB / 0.7623 GB, free: 4.332 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004226/0.003781, allocations: 168.4 kB / 0.7624 GB, free: 4.172 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001472/0.003928, allocations: 124.9 kB / 0.7626 GB, free: 4.051 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.004018, allocations: 8 kB / 0.7626 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001844/0.004202, allocations: 76.75 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 9.437e-05/0.004296, allocations: 39.94 kB / 0.7627 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.344e-05/0.00432, allocations: 13.03 kB / 0.7627 GB, free: 3.918 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001529/0.004473, allocations: 123.8 kB / 0.7628 GB, free: 3.797 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.641e-05/0.004499, allocations: 23.97 kB / 0.7628 GB, free: 3.773 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 3.414e-05/0.004533, allocations: 32.59 kB / 0.7629 GB, free: 3.742 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002174/0.004751, allocations: 191.4 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.004753, allocations: 1.781 kB / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of FrontEnd: time 9.12e-07/0.004753, allocations: 0 / 0.763 GB, free: 3.555 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.046e-06/0.004757, allocations: 0 / 0.763 GB, free: 3.555 MB / 0.7136 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.0004879/0.005244, allocations: 337.1 kB / 0.7634 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.005279, allocations: 12.97 kB / 0.7634 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.005488, allocations: 37.72 kB / 0.7634 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001367/0.005625, allocations: 129.7 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.379e-05/0.005679, allocations: 60.72 kB / 0.7636 GB, free: 2.934 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.394e-05/0.005692, allocations: 4.375 kB / 0.7636 GB, free: 2.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.005803, allocations: 98.22 kB / 0.7637 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.00581, allocations: 192 / 0.7637 GB, free: 2.816 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.005821, allocations: 12.73 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.005827, allocations: 4 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.951e-05/0.005867, allocations: 26.09 kB / 0.7637 GB, free: 2.777 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003184/0.006185, allocations: 372.4 kB / 0.7641 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002359/0.006421, allocations: 111.7 kB / 0.7642 GB, free: 2.258 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.072e-05/0.006452, allocations: 34.66 kB / 0.7642 GB, free: 2.215 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.006468, allocations: 4 kB / 0.7642 GB, free: 2.211 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001089/0.006577, allocations: 109.7 kB / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=11): time 9.42e-07/0.006578, allocations: 0 / 0.7643 GB, free: 2.082 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11): time 0.0001375/0.006715, allocations: 77.59 kB / 0.7644 GB, free: 2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.006763, allocations: 113.5 kB / 0.7645 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.006825, allocations: 130.6 kB / 0.7646 GB, free: 1.727 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.006841, allocations: 29.7 kB / 0.7647 GB, free: 1.691 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.461e-05/0.006876, allocations: 96.33 kB / 0.7648 GB, free: 1.59 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.483e-05/0.0069, allocations: 35.69 kB / 0.7648 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.006937, allocations: 33.67 kB / 0.7648 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.338e-05/0.007011, allocations: 318.8 kB / 0.7651 GB, free: 1.195 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.491e-05/0.007046, allocations: 16.61 kB / 0.7651 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.134e-05/0.007067, allocations: 13.39 kB / 0.7652 GB, free: 1.168 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.842e-05/0.007125, allocations: 48.77 kB / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.007128, allocations: 0 / 0.7652 GB, free: 1.117 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15) (initialization): time 8.125e-05/0.007209, allocations: 79.56 kB / 0.7653 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.054e-05/0.00722, allocations: 4.625 kB / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.007224, allocations: 0 / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.007236, allocations: 2.531 kB / 0.7653 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.374e-05/0.007299, allocations: 23.92 kB / 0.7653 GB, free: 1.008 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.855e-06/0.007302, allocations: 4 kB / 0.7653 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.319e-05/0.007335, allocations: 8 kB / 0.7653 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.007344, allocations: 4.234 kB / 0.7653 GB, free: 0.9922 MB / 0.7136 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 6.013e-05/0.007404, allocations: 120.5 kB / 0.7654 GB, free: 0.8672 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.007418, allocations: 11.94 kB / 0.7655 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001196/0.007538, allocations: 102.1 kB / 0.7656 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.007541, allocations: 4 kB / 0.7656 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-06/0.007543, allocations: 0 / 0.7656 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.007547, allocations: 0 / 0.7656 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.707e-05/0.007634, allocations: 98.98 kB / 0.7657 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.007635, allocations: 0 / 0.7657 GB, free: 0.6289 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.027e-05/0.007675, allocations: 15.94 kB / 0.7657 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.007677, allocations: 5.375 kB / 0.7657 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.778e-06/0.007686, allocations: 11.92 kB / 0.7657 GB, free: 0.5977 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.007689, allocations: 7.938 kB / 0.7657 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.00769, allocations: 0 / 0.7657 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.188e-05/0.007782, allocations: 124.1 kB / 0.7658 GB, free: 456 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.135e-05/0.007813, allocations: 19.89 kB / 0.7658 GB, free: 436 kB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.007831, allocations: 11.94 kB / 0.7658 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.945e-05/0.00786, allocations: 0.625 kB / 0.7658 GB, free: 424 kB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.007894, allocations: 19.97 kB / 0.7659 GB, free: 404 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.007898, allocations: 0.6875 kB / 0.7659 GB, free: 404 kB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.132e-05/0.007919, allocations: 27.95 kB / 0.7659 GB, free: 376 kB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.007919, allocations: 1.156 kB / 0.7659 GB, free: 376 kB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001623/0.008082, allocations: 67.75 kB / 0.766 GB, free: 308 kB / 0.7136 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.0001736/0.008255, allocations: 161.1 kB / 0.7661 GB, free: 140 kB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.589e-05/0.008351, allocations: 59.66 kB / 0.7662 GB, free: 80 kB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.008355, allocations: 8.594 kB / 0.7662 GB, free: 72 kB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.452e-05/0.008399, allocations: 45.42 kB / 0.7662 GB, free: 24 kB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.098e-05/0.00849, allocations: 9.5 kB / 0.7662 GB, free: 16 kB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.008947, allocations: 234.3 kB / 0.7664 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.443e-05/0.008982, allocations: 63.94 kB / 0.7665 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.29e-05/0.009035, allocations: 19.52 kB / 0.7665 GB, free: 15.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.098e-05/0.009096, allocations: 67.36 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/0.009097, allocations: 0.9375 kB / 0.7666 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of Templates: time 0.003508/0.0126, allocations: 2.18 MB / 0.7687 GB, free: 13.56 MB / 0.7292 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.105216469150037]