Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0008212/0.0008212, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.000777/0.000777, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8862/0.8862, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.691/1.691, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 0.9517 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.639e-05/1.8e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.055 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001186/0.001204, allocations: 0.7036 MB / 0.9524 GB, free: 2.344 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.00262, allocations: 1.564 MB / 0.9539 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.991e-05/0.00267, allocations: 4 kB / 0.9539 GB, free: 0.7578 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.036e-05/0.002701, allocations: 7.875 kB / 0.9539 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 0.0001458/0.002846, allocations: 11.86 kB / 0.9539 GB, free: 0.7383 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.003144, allocations: 171.3 kB / 0.9541 GB, free: 0.5703 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001302/0.003274, allocations: 119.6 kB / 0.9542 GB, free: 464 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.832e-05/0.003362, allocations: 15.98 kB / 0.9542 GB, free: 448 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.003519, allocations: 75.86 kB / 0.9543 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.717e-05/0.003586, allocations: 39.88 kB / 0.9543 GB, free: 332 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.954e-05/0.003606, allocations: 12 kB / 0.9543 GB, free: 320 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.003745, allocations: 115.8 kB / 0.9544 GB, free: 204 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.003768, allocations: 31.91 kB / 0.9545 GB, free: 172 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.66e-05/0.003805, allocations: 35.91 kB / 0.9545 GB, free: 136 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.004051, allocations: 239.3 kB / 0.9547 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.004053, allocations: 0 / 0.9547 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of FrontEnd: time 4.71e-07/0.004053, allocations: 0 / 0.9547 GB, free: 15.9 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004057, allocations: 0 / 0.9547 GB, free: 15.9 MB / 0.9167 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.0004695/0.004527, allocations: 365.6 kB / 0.9551 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.004559, allocations: 12.03 kB / 0.9551 GB, free: 15.5 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.004732, allocations: 24.88 kB / 0.9551 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.6e-05/0.004818, allocations: 129.6 kB / 0.9552 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.148e-05/0.00488, allocations: 59.97 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.004894, allocations: 8.375 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000126/0.00502, allocations: 103.1 kB / 0.9554 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.005027, allocations: 192 / 0.9554 GB, free: 15.13 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.005039, allocations: 8.125 kB / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.005044, allocations: 0 / 0.9554 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.253e-05/0.005116, allocations: 43.97 kB / 0.9555 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004115/0.005528, allocations: 448.8 kB / 0.9559 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.005802, allocations: 139.7 kB / 0.956 GB, free: 14.44 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.005849, allocations: 42.66 kB / 0.9561 GB, free: 14.39 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.889e-05/0.005868, allocations: 8 kB / 0.9561 GB, free: 14.38 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/0.005999, allocations: 121.9 kB / 0.9562 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=11): time 9.72e-07/0.006, allocations: 0 / 0.9562 GB, free: 14.24 MB / 0.9167 GB Notification: Performance of matching and sorting (n=11): time 0.0002389/0.006239, allocations: 145.5 kB / 0.9563 GB, free: 14.09 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/0.006282, allocations: 106.8 kB / 0.9564 GB, free: 13.96 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.006348, allocations: 125.8 kB / 0.9565 GB, free: 13.83 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/0.006365, allocations: 33.69 kB / 0.9566 GB, free: 13.79 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 3.909e-05/0.006404, allocations: 92.38 kB / 0.9567 GB, free: 13.7 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.253e-05/0.006426, allocations: 27.75 kB / 0.9567 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.18e-05/0.006468, allocations: 37.69 kB / 0.9567 GB, free: 13.62 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.019e-05/0.006538, allocations: 322.9 kB / 0.957 GB, free: 13.3 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.631e-05/0.006595, allocations: 35.98 kB / 0.9571 GB, free: 13.27 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.134e-05/0.006646, allocations: 43.91 kB / 0.9571 GB, free: 13.22 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.006748, allocations: 79.88 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.006751, allocations: 3.938 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000145/0.006896, allocations: 129.6 kB / 0.9573 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/0.006906, allocations: 4 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.006911, allocations: 3.984 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.438e-06/0.00692, allocations: 0 / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.297e-05/0.006983, allocations: 20.17 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.006987, allocations: 4 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.57e-05/0.007033, allocations: 15.89 kB / 0.9574 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.007041, allocations: 4 kB / 0.9574 GB, free: 12.96 MB / 0.9167 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 7.77e-05/0.007119, allocations: 133.8 kB / 0.9575 GB, free: 12.82 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.203e-05/0.007131, allocations: 11.89 kB / 0.9575 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001506/0.007281, allocations: 102.1 kB / 0.9576 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.007285, allocations: 7.984 kB / 0.9576 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.007289, allocations: 4 kB / 0.9576 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.007292, allocations: 0 / 0.9576 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.565e-05/0.007388, allocations: 153.2 kB / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.00739, allocations: 3.938 kB / 0.9578 GB, free: 12.5 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.843e-05/0.007438, allocations: 27.92 kB / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.00744, allocations: 0 / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.083e-06/0.007447, allocations: 0 / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007448, allocations: 4.312 kB / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.32e-07/0.007449, allocations: 0 / 0.9578 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.00768, allocations: 174.7 kB / 0.958 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.972e-05/0.00772, allocations: 31.81 kB / 0.958 GB, free: 12.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.007736, allocations: 7.953 kB / 0.958 GB, free: 12.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.73e-05/0.007773, allocations: 11.98 kB / 0.958 GB, free: 12.22 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.764e-05/0.007811, allocations: 11.98 kB / 0.958 GB, free: 12.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.676e-06/0.007819, allocations: 8 kB / 0.958 GB, free: 12.2 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 3.778e-05/0.007857, allocations: 95.27 kB / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.007857, allocations: 0 / 0.9581 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001957/0.008053, allocations: 71.73 kB / 0.9582 GB, free: 12.04 MB / 0.9167 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.0001813/0.008234, allocations: 182.9 kB / 0.9584 GB, free: 11.85 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.008387, allocations: 95 kB / 0.9585 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.008389, allocations: 4 kB / 0.9585 GB, free: 11.76 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 5.742e-05/0.008446, allocations: 47.92 kB / 0.9585 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.00859, allocations: 17.81 kB / 0.9585 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003242/0.008914, allocations: 266 kB / 0.9588 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.134e-05/0.008965, allocations: 89.38 kB / 0.9589 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.549e-05/0.009011, allocations: 20.5 kB / 0.9589 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of SimCode: time 5.11e-07/0.009011, allocations: 4 kB / 0.9589 GB, free: 11.26 MB / 0.9167 GB Notification: Performance of Templates: time 0.002345/0.01136, allocations: 2.064 MB / 0.9609 GB, free: 9.207 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.392119036987424]