Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") translateModel(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|dayCon.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008788/0.008788, allocations: 100.3 kB / 15.73 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 188.5 kB / 16.67 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.574/1.574, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.849/2.849, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 59.91 kB / 1.018 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4169, allocations: 151.6 MB / 1.167 GB, free: 6.984 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002146/0.4191, allocations: 0.7339 MB / 1.167 GB, free: 6.246 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002286/0.4214, allocations: 1.528 MB / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.411e-05/0.4215, allocations: 0 / 1.169 GB, free: 4.699 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 4.248e-05/0.4216, allocations: 3.938 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.4218, allocations: 31.78 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.4223, allocations: 151.5 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.4225, allocations: 119.6 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.4227, allocations: 16 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.4228, allocations: 51.89 kB / 1.169 GB, free: 4.332 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001303/0.423, allocations: 51.77 kB / 1.169 GB, free: 4.281 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.82e-05/0.423, allocations: 8 kB / 1.169 GB, free: 4.273 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002465/0.4233, allocations: 103.9 kB / 1.169 GB, free: 4.172 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.478e-05/0.4233, allocations: 27.95 kB / 1.169 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.816e-05/0.4234, allocations: 43.8 kB / 1.169 GB, free: 4.102 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003596/0.4237, allocations: 203.2 kB / 1.17 GB, free: 3.902 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.4238, allocations: 4 kB / 1.17 GB, free: 3.898 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4238, allocations: 0 / 1.17 GB, free: 3.898 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.4238, allocations: 0 / 1.17 GB, free: 3.898 MB / 0.92 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.0009/0.4247, allocations: 430.8 kB / 1.17 GB, free: 3.43 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.4247, allocations: 8.031 kB / 1.17 GB, free: 3.422 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.249e-05/0.4248, allocations: 8.891 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.425, allocations: 184.2 kB / 1.17 GB, free: 3.195 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.572e-05/0.4251, allocations: 34.27 kB / 1.17 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.122e-05/0.4251, allocations: 8.375 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.4254, allocations: 112.3 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.4254, allocations: 0 / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.4254, allocations: 3.984 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.518e-06/0.4254, allocations: 4 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.4255, allocations: 43.97 kB / 1.17 GB, free: 2.973 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007296/0.4263, allocations: 0.5166 MB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005236/0.4268, allocations: 135.7 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.62e-05/0.4269, allocations: 42.66 kB / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.4269, allocations: 0 / 1.171 GB, free: 2.188 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002844/0.4272, allocations: 125.9 kB / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.052e-06/0.4272, allocations: 0 / 1.171 GB, free: 2.043 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0003692/0.4276, allocations: 145.5 kB / 1.171 GB, free: 1.895 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.4277, allocations: 110.8 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4278, allocations: 121.8 kB / 1.172 GB, free: 1.633 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.65e-05/0.4279, allocations: 29.69 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.399e-05/0.428, allocations: 92.38 kB / 1.172 GB, free: 1.5 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.888e-05/0.428, allocations: 35.86 kB / 1.172 GB, free: 1.465 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.393e-05/0.4281, allocations: 37.7 kB / 1.172 GB, free: 1.422 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.4283, allocations: 318.8 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.767e-05/0.4284, allocations: 35.98 kB / 1.172 GB, free: 1.066 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.043e-05/0.4285, allocations: 39.97 kB / 1.172 GB, free: 1.027 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.4286, allocations: 79.73 kB / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.4287, allocations: 0 / 1.172 GB, free: 0.9492 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002578/0.4289, allocations: 129.6 kB / 1.172 GB, free: 0.8164 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.429, allocations: 11.98 kB / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.429, allocations: 0 / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.429, allocations: 0 / 1.172 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001266/0.4291, allocations: 20.23 kB / 1.172 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.4291, allocations: 3.938 kB / 1.172 GB, free: 0.7812 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.743e-05/0.4292, allocations: 15.89 kB / 1.172 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/0.4293, allocations: 7.938 kB / 1.172 GB, free: 0.7578 MB / 0.92 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 0.0001488/0.4294, allocations: 129.8 kB / 1.172 GB, free: 0.6211 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.126e-05/0.4294, allocations: 7.953 kB / 1.172 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000261/0.4297, allocations: 122.1 kB / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.4297, allocations: 0 / 1.173 GB, free: 496 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.4297, allocations: 4 kB / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4297, allocations: 0 / 1.173 GB, free: 492 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.43, allocations: 229.4 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.43, allocations: 0 / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.996e-05/0.4301, allocations: 19.98 kB / 1.173 GB, free: 192 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.4301, allocations: 4 kB / 1.173 GB, free: 188 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.533e-05/0.4301, allocations: 4 kB / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.4301, allocations: 0 / 1.173 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.4301, allocations: 4 kB / 1.173 GB, free: 180 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002722/0.4304, allocations: 174.6 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.384e-05/0.4305, allocations: 96.98 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.4305, allocations: 15.95 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.4306, allocations: 7.984 kB / 1.173 GB, free: 15.84 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.693e-05/0.4307, allocations: 19.92 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.4307, allocations: 4 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.703e-05/0.4308, allocations: 99.27 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4308, allocations: 0 / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002962/0.4311, allocations: 55.81 kB / 1.173 GB, free: 15.67 MB / 0.9356 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.0002943/0.4314, allocations: 163.9 kB / 1.173 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002649/0.4316, allocations: 99.84 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.4316, allocations: 0 / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.4318, allocations: 51.92 kB / 1.174 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002254/0.432, allocations: 11.98 kB / 1.174 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.4325, allocations: 229.3 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.4329, allocations: 0.7041 MB / 1.175 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.733e-05/0.433, allocations: 15.92 kB / 1.175 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.105e-05/0.433, allocations: 19.44 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.433, allocations: 4 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of Templates: time 0.004797/0.4378, allocations: 1.746 MB / 1.176 GB, free: 12.57 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches