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.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005412/0.005412, allocations: 101.7 kB / 15.73 MB, free: 6.039 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.001172/0.001172, allocations: 200.3 kB / 16.67 MB, free: 5.977 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.103/3.103, allocations: 461.9 MB / 0.7348 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 63.91 kB / 1.054 GB, free: 7.172 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.37, allocations: 157.4 MB / 1.208 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.00182/0.3719, allocations: 0.728 MB / 1.208 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3738, allocations: 1.521 MB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.934e-05/0.3738, allocations: 0 / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.327e-05/0.3739, allocations: 11.81 kB / 1.21 GB, free: 7.383 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001617/0.3741, allocations: 19.84 kB / 1.21 GB, free: 7.363 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003817/0.3744, allocations: 151.5 kB / 1.21 GB, free: 7.215 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.3746, allocations: 123.7 kB / 1.21 GB, free: 7.094 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3747, allocations: 31.95 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.3749, allocations: 43.86 kB / 1.21 GB, free: 7.02 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.215e-05/0.375, allocations: 55.75 kB / 1.21 GB, free: 6.965 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.375, allocations: 8 kB / 1.21 GB, free: 6.957 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.3752, allocations: 103.9 kB / 1.21 GB, free: 6.855 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.098e-05/0.3752, allocations: 27.86 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.3753, allocations: 51.77 kB / 1.21 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.3756, allocations: 195.5 kB / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3756, allocations: 0 / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3756, allocations: 0 / 1.211 GB, free: 6.586 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.3756, allocations: 0 / 1.211 GB, free: 6.586 MB / 0.9669 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.0006393/0.3762, allocations: 423.1 kB / 1.211 GB, free: 6.125 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.3763, allocations: 8.031 kB / 1.211 GB, free: 6.117 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.597e-05/0.3763, allocations: 16.84 kB / 1.211 GB, free: 6.102 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.3765, allocations: 172.2 kB / 1.211 GB, free: 5.895 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.673e-05/0.3765, allocations: 42.19 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.889e-05/0.3766, allocations: 4.375 kB / 1.211 GB, free: 5.844 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3767, allocations: 100.4 kB / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.3768, allocations: 0 / 1.211 GB, free: 5.73 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.3768, allocations: 3.938 kB / 1.211 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.453e-06/0.3768, allocations: 4 kB / 1.211 GB, free: 5.723 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.826e-05/0.3769, allocations: 47.91 kB / 1.211 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006078/0.3775, allocations: 0.5243 MB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.378, allocations: 135.7 kB / 1.212 GB, free: 4.934 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.378, allocations: 42.58 kB / 1.212 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.3781, allocations: 8.078 kB / 1.212 GB, free: 4.875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002257/0.3783, allocations: 113.9 kB / 1.212 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.493e-06/0.3783, allocations: 3.938 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0003138/0.3786, allocations: 137.5 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.107e-05/0.3787, allocations: 110.8 kB / 1.213 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3788, allocations: 129.9 kB / 1.213 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.3789, allocations: 29.7 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.566e-05/0.3789, allocations: 92.42 kB / 1.213 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.42e-05/0.379, allocations: 35.61 kB / 1.213 GB, free: 4.16 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.912e-05/0.379, allocations: 37.7 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3792, allocations: 318.8 kB / 1.213 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.298e-05/0.3793, allocations: 39.98 kB / 1.213 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.061e-05/0.3794, allocations: 38.38 kB / 1.213 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001563/0.3795, allocations: 80.78 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.3795, allocations: 0 / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002427/0.3798, allocations: 136 kB / 1.213 GB, free: 3.504 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3798, allocations: 4 kB / 1.213 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3798, allocations: 0 / 1.213 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3798, allocations: 3.938 kB / 1.213 GB, free: 3.496 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000121/0.38, allocations: 19.98 kB / 1.213 GB, free: 3.477 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.38, allocations: 3.938 kB / 1.213 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.031e-05/0.3801, allocations: 23.83 kB / 1.213 GB, free: 3.449 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/0.3801, allocations: 7.938 kB / 1.213 GB, free: 3.441 MB / 0.9669 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.0001072/0.3802, allocations: 121.8 kB / 1.214 GB, free: 3.312 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.3802, allocations: 7.906 kB / 1.214 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.3805, allocations: 118.1 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/0.3805, allocations: 4 kB / 1.214 GB, free: 3.176 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.3805, allocations: 4 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.3805, allocations: 0 / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002007/0.3807, allocations: 213.5 kB / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.674e-06/0.3807, allocations: 0 / 1.214 GB, free: 2.914 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3808, allocations: 23.98 kB / 1.214 GB, free: 2.891 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.3808, allocations: 7.938 kB / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3809, allocations: 0 / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.3809, allocations: 320 / 1.214 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3809, allocations: 7.984 kB / 1.214 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.3811, allocations: 182.5 kB / 1.214 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.288e-05/0.3812, allocations: 104.9 kB / 1.214 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.3812, allocations: 4 kB / 1.214 GB, free: 2.547 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.248e-05/0.3813, allocations: 4 kB / 1.214 GB, free: 2.543 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.632e-05/0.3814, allocations: 23.86 kB / 1.214 GB, free: 2.52 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3814, allocations: 7.984 kB / 1.214 GB, free: 2.512 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.96e-05/0.3815, allocations: 101.5 kB / 1.214 GB, free: 2.414 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 4 kB / 1.214 GB, free: 2.41 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002797/0.3818, allocations: 55.94 kB / 1.214 GB, free: 2.355 MB / 0.9669 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.00025/0.382, allocations: 147.2 kB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.3823, allocations: 95.89 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.3823, allocations: 0 / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.402e-05/0.3824, allocations: 63.84 kB / 1.215 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.3826, allocations: 8 kB / 1.215 GB, free: 2.039 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004746/0.3831, allocations: 241 kB / 1.215 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3834, allocations: 0.6963 MB / 1.216 GB, free: 1.043 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.388e-05/0.3834, allocations: 20.67 kB / 1.216 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.461e-05/0.3835, allocations: 23.42 kB / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3835, allocations: 0 / 1.216 GB, free: 1 MB / 0.9669 GB Notification: Performance of Templates: time 0.004438/0.3879, allocations: 1.743 MB / 1.217 GB, free: 15.27 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches