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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001207/0.001207, allocations: 106.8 kB / 16.41 MB, free: 6.449 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.00125/0.00125, allocations: 190.5 kB / 17.35 MB, free: 5.742 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.473/1.473, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.753/2.753, allocations: 461.7 MB / 0.7352 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.89 kB / 1.054 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.914/0.9154, allocations: 157.4 MB / 1.208 GB, free: 13.63 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002212/0.9177, allocations: 0.7126 MB / 1.209 GB, free: 12.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002499/0.9202, allocations: 1.521 MB / 1.21 GB, free: 11.39 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.084e-05/0.9203, allocations: 4 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.715e-05/0.9204, allocations: 7.875 kB / 1.21 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001813/0.9206, allocations: 15.84 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005256/0.9211, allocations: 162.6 kB / 1.211 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000193/0.9213, allocations: 119.6 kB / 1.211 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.9214, allocations: 23.97 kB / 1.211 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.9216, allocations: 47.84 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001422/0.9217, allocations: 51.77 kB / 1.211 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.83e-05/0.9217, allocations: 12 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002343/0.922, allocations: 99.91 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.782e-05/0.922, allocations: 27.91 kB / 1.211 GB, free: 10.83 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.33e-05/0.9221, allocations: 43.84 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003328/0.9224, allocations: 197.1 kB / 1.211 GB, free: 10.6 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.9224, allocations: 4 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9225, allocations: 0 / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9225, allocations: 4 kB / 1.211 GB, free: 10.59 MB / 0.9356 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.0007474/0.9232, allocations: 427.1 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.9233, allocations: 8.031 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.493e-05/0.9233, allocations: 8.844 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.9235, allocations: 184.2 kB / 1.212 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.7e-05/0.9236, allocations: 38.25 kB / 1.212 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.032e-05/0.9236, allocations: 4.375 kB / 1.212 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001978/0.9238, allocations: 100.4 kB / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.9238, allocations: 0 / 1.212 GB, free: 9.73 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.9239, allocations: 4 kB / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.9239, allocations: 0 / 1.212 GB, free: 9.727 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.924, allocations: 47.91 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007095/0.9247, allocations: 0.5204 MB / 1.212 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004739/0.9252, allocations: 139.7 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.229e-05/0.9253, allocations: 42.66 kB / 1.213 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.089e-05/0.9253, allocations: 4 kB / 1.213 GB, free: 8.883 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002245/0.9255, allocations: 121.8 kB / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.723e-06/0.9256, allocations: 0 / 1.213 GB, free: 8.742 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.000342/0.9259, allocations: 141.5 kB / 1.213 GB, free: 8.598 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.926, allocations: 110.9 kB / 1.213 GB, free: 8.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.9261, allocations: 125.9 kB / 1.213 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.359e-05/0.9261, allocations: 33.7 kB / 1.213 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.543e-05/0.9262, allocations: 100.3 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.016e-05/0.9262, allocations: 27.56 kB / 1.213 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.9263, allocations: 37.7 kB / 1.213 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9264, allocations: 322.8 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.415e-05/0.9265, allocations: 35.98 kB / 1.214 GB, free: 7.758 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.136e-05/0.9266, allocations: 38.23 kB / 1.214 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001725/0.9268, allocations: 80.78 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.9268, allocations: 0 / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002493/0.9271, allocations: 132.2 kB / 1.214 GB, free: 7.508 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.9271, allocations: 4 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.9271, allocations: 0 / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.267e-05/0.9271, allocations: 4 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.9273, allocations: 23.91 kB / 1.214 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.9273, allocations: 4 kB / 1.214 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.538e-05/0.9274, allocations: 11.98 kB / 1.214 GB, free: 7.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.9274, allocations: 4 kB / 1.214 GB, free: 7.457 MB / 0.9356 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 9.514e-05/0.9275, allocations: 133.7 kB / 1.214 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.9275, allocations: 7.906 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002481/0.9278, allocations: 121.8 kB / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.9278, allocations: 0 / 1.214 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.9278, allocations: 4 kB / 1.214 GB, free: 7.176 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.9279, allocations: 96.98 kB / 1.214 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.9279, allocations: 15.94 kB / 1.214 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.886e-05/0.928, allocations: 7.984 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.9281, allocations: 11.98 kB / 1.214 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003489/0.9284, allocations: 379.7 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004144/0.9289, allocations: 465.2 kB / 1.215 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.021e-05/0.9289, allocations: 43.98 kB / 1.215 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.000155/0.9291, allocations: 99.27 kB / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of Backend: time 1.8e-07/0.9291, allocations: 0 / 1.215 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007233/0.9298, allocations: 190.2 kB / 1.215 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of SimCode: time 0.0005833/0.9304, allocations: 0.641 MB / 1.216 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of Templates: time 0.004998/0.9354, allocations: 1.743 MB / 1.218 GB, free: 3.414 MB / 0.9356 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/jenkins1/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