Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01151/0.01151, allocations: 100.5 kB / 15.73 MB, free: 6.035 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.001859/0.001859, allocations: 187.8 kB / 16.67 MB, free: 5.973 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.608/2.608, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 65.61 kB / 0.9508 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3413, allocations: 140.4 MB / 1.088 GB, free: 1.52 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001939/0.3432, allocations: 0.7238 MB / 1.089 GB, free: 0.793 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.3453, allocations: 1.526 MB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.305e-05/0.3453, allocations: 0 / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.512e-05/0.3454, allocations: 11.86 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001819/0.3456, allocations: 15.86 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004146/0.346, allocations: 163.4 kB / 1.09 GB, free: 15.06 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001578/0.3462, allocations: 115.8 kB / 1.09 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.3463, allocations: 15.98 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001316/0.3464, allocations: 51.8 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.3465, allocations: 51.81 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.407e-05/0.3466, allocations: 15.94 kB / 1.091 GB, free: 14.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.3468, allocations: 95.91 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.3468, allocations: 23.92 kB / 1.091 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.102e-05/0.3469, allocations: 63.77 kB / 1.091 GB, free: 14.64 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002766/0.3472, allocations: 187.5 kB / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3472, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3472, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.668e-06/0.3472, allocations: 0 / 1.091 GB, free: 14.45 MB / 0.8575 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.0007848/0.348, allocations: 427.1 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.348, allocations: 16.03 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.611e-05/0.3481, allocations: 8.844 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001411/0.3482, allocations: 176.2 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.902e-05/0.3483, allocations: 38.25 kB / 1.092 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3484, allocations: 8.312 kB / 1.092 GB, free: 13.7 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.3486, allocations: 100.4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3486, allocations: 0 / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.3486, allocations: 8 kB / 1.092 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.3486, allocations: 11.92 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.3487, allocations: 35.98 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006739/0.3494, allocations: 0.5204 MB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005001/0.3499, allocations: 135.7 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.621e-05/0.35, allocations: 46.66 kB / 1.092 GB, free: 12.74 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.84e-05/0.35, allocations: 8 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002397/0.3503, allocations: 113.9 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 3.165e-06/0.3503, allocations: 3.984 kB / 1.092 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003476/0.3506, allocations: 137.5 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.048e-05/0.3507, allocations: 110.9 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3508, allocations: 126.2 kB / 1.093 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.3509, allocations: 29.7 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.372e-05/0.351, allocations: 96.31 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.114e-05/0.351, allocations: 35.56 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.645e-05/0.351, allocations: 33.7 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001261/0.3512, allocations: 322.8 kB / 1.093 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.136e-05/0.3513, allocations: 35.98 kB / 1.093 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.365e-05/0.3514, allocations: 39.98 kB / 1.093 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001683/0.3515, allocations: 83.25 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.3516, allocations: 3.984 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000254/0.3518, allocations: 125.6 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.3518, allocations: 4 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.571e-06/0.3518, allocations: 0 / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.3519, allocations: 4 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.352, allocations: 23.86 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.352, allocations: 0 / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.796e-05/0.3521, allocations: 23.92 kB / 1.094 GB, free: 11.31 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3521, allocations: 7.938 kB / 1.094 GB, free: 11.3 MB / 0.8575 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.0001047/0.3522, allocations: 117.8 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.3523, allocations: 11.89 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.3525, allocations: 109.9 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.3525, allocations: 8 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3525, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3525, allocations: 3.984 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.3527, allocations: 221.5 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3528, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.112e-05/0.3529, allocations: 15.94 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.84e-06/0.3529, allocations: 4 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.3529, allocations: 7.984 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.3529, allocations: 4.312 kB / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3529, allocations: 0 / 1.094 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.3532, allocations: 178.6 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.634e-05/0.3533, allocations: 104.9 kB / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/0.3533, allocations: 0 / 1.094 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.871e-05/0.3534, allocations: 8 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.107e-05/0.3534, allocations: 20.16 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3535, allocations: 7.984 kB / 1.094 GB, free: 10.39 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.047e-05/0.3535, allocations: 101.4 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3535, allocations: 0 / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002914/0.3538, allocations: 63.84 kB / 1.095 GB, free: 10.23 MB / 0.8575 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.0002336/0.3541, allocations: 155.6 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002577/0.3543, allocations: 103.3 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3543, allocations: 0 / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.378e-05/0.3544, allocations: 51.92 kB / 1.095 GB, free: 9.918 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002184/0.3547, allocations: 19.98 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004713/0.3551, allocations: 237.2 kB / 1.095 GB, free: 9.629 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.3554, allocations: 0.6963 MB / 1.096 GB, free: 8.906 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.463e-05/0.3555, allocations: 19.55 kB / 1.096 GB, free: 8.891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.8e-05/0.3556, allocations: 19.42 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of SimCode: time 2.1e-07/0.3556, allocations: 0 / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of Templates: time 0.004601/0.3602, allocations: 1.739 MB / 1.098 GB, free: 7.137 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.makefile (rm -f Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.sim & ./Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_OutdoorLights_Validation_DaylightControlled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches