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.01166/0.01166, allocations: 101.1 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.002371/0.002371, allocations: 186.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.542/1.542, 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.479/2.479, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 62.31 kB / 0.9508 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3368, allocations: 140.4 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001897/0.3388, allocations: 0.7277 MB / 1.089 GB, free: 0.8203 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002076/0.3409, allocations: 1.526 MB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.341, allocations: 4 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.953e-05/0.341, allocations: 11.86 kB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.3412, allocations: 15.86 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004203/0.3417, allocations: 163.4 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3418, allocations: 111.8 kB / 1.09 GB, free: 14.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.3419, allocations: 15.98 kB / 1.09 GB, free: 14.96 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001277/0.3421, allocations: 59.77 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.736e-05/0.3422, allocations: 51.81 kB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.3422, allocations: 12 kB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001806/0.3424, allocations: 91.94 kB / 1.091 GB, free: 14.75 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.512e-05/0.3424, allocations: 31.89 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.366e-05/0.3425, allocations: 51.78 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002502/0.3427, allocations: 191.5 kB / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3428, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3428, allocations: 0 / 1.091 GB, free: 14.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.3428, allocations: 4 kB / 1.091 GB, free: 14.48 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.0007393/0.3435, allocations: 427.1 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.3436, allocations: 12.03 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.746e-05/0.3436, allocations: 8.844 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.3438, allocations: 184.1 kB / 1.091 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.893e-05/0.3439, allocations: 34.27 kB / 1.092 GB, free: 13.73 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.011e-05/0.3439, allocations: 12.38 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.3441, allocations: 104.3 kB / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.789e-06/0.3441, allocations: 0 / 1.092 GB, free: 13.61 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.3441, allocations: 7.938 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.3441, allocations: 0 / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001049/0.3443, allocations: 47.92 kB / 1.092 GB, free: 13.55 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006205/0.3449, allocations: 0.5165 MB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004526/0.3453, allocations: 135.7 kB / 1.092 GB, free: 12.82 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.988e-05/0.3454, allocations: 42.66 kB / 1.092 GB, free: 12.77 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.372e-05/0.3455, allocations: 8.062 kB / 1.092 GB, free: 12.76 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002393/0.3457, allocations: 113.9 kB / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.3457, allocations: 0 / 1.092 GB, free: 12.62 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0003359/0.3461, allocations: 141.5 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/0.3461, allocations: 110.8 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.27e-05/0.3462, allocations: 121.8 kB / 1.093 GB, free: 12.22 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3463, allocations: 33.7 kB / 1.093 GB, free: 12.18 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.415e-05/0.3463, allocations: 96.44 kB / 1.093 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.859e-05/0.3464, allocations: 27.56 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.3464, allocations: 41.64 kB / 1.093 GB, free: 12 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001064/0.3465, allocations: 326.8 kB / 1.093 GB, free: 11.68 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.968e-05/0.3466, allocations: 31.98 kB / 1.093 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.317e-05/0.3467, allocations: 39.19 kB / 1.093 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001676/0.3469, allocations: 84.7 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.3469, allocations: 4 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002477/0.3472, allocations: 125.6 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3472, allocations: 4 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.3472, allocations: 4 kB / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.3472, allocations: 0 / 1.094 GB, free: 11.38 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.3473, allocations: 23.92 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3474, allocations: 7.984 kB / 1.094 GB, free: 11.35 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.894e-05/0.3474, allocations: 7.938 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.3475, allocations: 7.938 kB / 1.094 GB, free: 11.34 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.55e-05/0.3476, allocations: 125.8 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.3476, allocations: 7.906 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002312/0.3478, allocations: 118 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.15e-06/0.3478, allocations: 4 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3479, allocations: 0 / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.053e-06/0.3479, allocations: 3.984 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001823/0.348, allocations: 225.5 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3481, allocations: 4 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.25e-05/0.3482, allocations: 19.94 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3482, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.469e-05/0.3482, allocations: 3.984 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.005e-06/0.3482, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3482, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002353/0.3484, allocations: 180.9 kB / 1.094 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.3485, allocations: 104.9 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.3485, allocations: 8 kB / 1.094 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.484e-05/0.3486, allocations: 7.984 kB / 1.094 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.309e-05/0.3487, allocations: 15.92 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.3487, allocations: 4 kB / 1.094 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.668e-05/0.3488, allocations: 102.8 kB / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3488, allocations: 0 / 1.095 GB, free: 10.31 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002721/0.349, allocations: 59.84 kB / 1.095 GB, free: 10.25 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.0002377/0.3493, allocations: 159.6 kB / 1.095 GB, free: 10.09 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002464/0.3495, allocations: 99.95 kB / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.3496, allocations: 0 / 1.095 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.756e-05/0.3497, allocations: 55.92 kB / 1.095 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.3499, allocations: 11.98 kB / 1.095 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004384/0.3503, allocations: 241.2 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3506, allocations: 0.7002 MB / 1.096 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.193e-05/0.3507, allocations: 16.69 kB / 1.096 GB, free: 8.91 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.797e-05/0.3507, allocations: 23.42 kB / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3507, allocations: 0 / 1.096 GB, free: 8.887 MB / 0.8575 GB Notification: Performance of Templates: time 0.004435/0.3552, allocations: 1.734 MB / 1.098 GB, free: 7.164 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