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.00148/0.00148, allocations: 108.1 kB / 16.41 MB, free: 6.492 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.001675/0.001675, allocations: 185.5 kB / 17.34 MB, free: 5.762 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.394/1.394, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.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.299/2.299, allocations: 390.3 MB / 0.6655 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002034/0.002035, allocations: 60.12 kB / 0.9515 GB, free: 7.699 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9905/0.9925, allocations: 140.4 MB / 1.089 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002142/0.9947, allocations: 0.7352 MB / 1.089 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002043/0.9968, allocations: 1.523 MB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.9969, allocations: 1.094 kB / 1.091 GB, free: 3.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.263e-05/0.9969, allocations: 8.531 kB / 1.091 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.9971, allocations: 17.84 kB / 1.091 GB, free: 3.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004492/0.9976, allocations: 154.3 kB / 1.091 GB, free: 3.871 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.9978, allocations: 124.2 kB / 1.091 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001188/0.9979, allocations: 19.3 kB / 1.091 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.9981, allocations: 47.28 kB / 1.091 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000113/0.9982, allocations: 50.8 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.9982, allocations: 11.94 kB / 1.091 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002447/0.9985, allocations: 103.9 kB / 1.091 GB, free: 3.73 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.9985, allocations: 29.34 kB / 1.091 GB, free: 3.711 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.88e-05/0.9986, allocations: 48.56 kB / 1.091 GB, free: 3.68 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003514/0.9989, allocations: 191 kB / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.999, allocations: 1.219 kB / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.305e-06/0.999, allocations: 0 / 1.092 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.216e-06/0.999, allocations: 0 / 1.092 GB, free: 3.621 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.000737/0.9997, allocations: 429.5 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.9998, allocations: 9.719 kB / 1.092 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.462e-05/0.9998, allocations: 9.25 kB / 1.092 GB, free: 3.211 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001118/0.9999, allocations: 179.7 kB / 1.092 GB, free: 3.004 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.48e-05/1, allocations: 39.52 kB / 1.092 GB, free: 2.965 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.47e-05/1, allocations: 9.281 kB / 1.092 GB, free: 2.961 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/1, allocations: 106.4 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/1, allocations: 0.7188 kB / 1.092 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/1, allocations: 4.625 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/1, allocations: 2.703 kB / 1.092 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001195/1, allocations: 44.84 kB / 1.092 GB, free: 2.859 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006123/1.001, allocations: 0.5162 MB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004754/1.002, allocations: 137.4 kB / 1.093 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.834e-05/1.002, allocations: 45.83 kB / 1.093 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/1.002, allocations: 5.438 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002561/1.002, allocations: 120 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/1.002, allocations: 0 / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003557/1.002, allocations: 140.4 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/1.002, allocations: 114.6 kB / 1.093 GB, free: 1.934 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.94e-05/1.002, allocations: 124.8 kB / 1.094 GB, free: 1.824 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/1.002, allocations: 30.67 kB / 1.094 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.412e-05/1.003, allocations: 97.12 kB / 1.094 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/1.003, allocations: 30.67 kB / 1.094 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.436e-05/1.003, allocations: 37.7 kB / 1.094 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.026e-05/1.003, allocations: 319.3 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/1.003, allocations: 42.39 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.958e-05/1.003, allocations: 38.08 kB / 1.094 GB, free: 1.293 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001761/1.003, allocations: 77.81 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/1.003, allocations: 0.9688 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002595/1.003, allocations: 130.4 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.003, allocations: 5 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/1.003, allocations: 0 / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.003, allocations: 0.7188 kB / 1.094 GB, free: 1.188 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/1.004, allocations: 23.42 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/1.004, allocations: 1.375 kB / 1.094 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.753e-05/1.004, allocations: 14.19 kB / 1.094 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.832e-05/1.004, allocations: 9.391 kB / 1.094 GB, free: 1.172 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 9.267e-05/1.004, allocations: 121 kB / 1.094 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/1.004, allocations: 7.75 kB / 1.094 GB, free: 1.047 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/1.004, allocations: 125.9 kB / 1.095 GB, free: 0.9688 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.212e-06/1.004, allocations: 6.125 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.004, allocations: 1.531 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/1.004, allocations: 2.234 kB / 1.095 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/1.004, allocations: 212.7 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.004, allocations: 2.234 kB / 1.095 GB, free: 0.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.796e-05/1.004, allocations: 29.58 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/1.004, allocations: 0.9062 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.403e-05/1.004, allocations: 3.609 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/1.004, allocations: 1.609 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/1.004, allocations: 1.625 kB / 1.095 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/1.005, allocations: 183.3 kB / 1.095 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.953e-05/1.005, allocations: 96.23 kB / 1.095 GB, free: 0.5039 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.9e-05/1.005, allocations: 6.75 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.664e-05/1.005, allocations: 6.016 kB / 1.095 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/1.005, allocations: 22.16 kB / 1.095 GB, free: 500 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.596e-05/1.005, allocations: 9.609 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.655e-05/1.005, allocations: 98.55 kB / 1.095 GB, free: 412 kB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/1.005, allocations: 3.938 kB / 1.095 GB, free: 408 kB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003275/1.005, allocations: 61.33 kB / 1.095 GB, free: 388 kB / 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.0002545/1.006, allocations: 157.9 kB / 1.095 GB, free: 276 kB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002762/1.006, allocations: 93.44 kB / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/1.006, allocations: 0 / 1.096 GB, free: 248 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001159/1.006, allocations: 60.28 kB / 1.096 GB, free: 224 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/1.006, allocations: 10.84 kB / 1.096 GB, free: 220 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005173/1.007, allocations: 262.3 kB / 1.096 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003204/1.007, allocations: 0.6975 MB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/1.007, allocations: 25.59 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.007, allocations: 0 / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of Templates: time 0.004908/1.012, allocations: 1.823 MB / 1.098 GB, free: 15.08 MB / 0.8731 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/jenkins1/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