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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009103/0.0009104, allocations: 99.27 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 186.6 kB / 16.92 MB, free: 6.688 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.428/2.428, allocations: 390.9 MB / 0.667 GB, free: 2.336 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0006019/0.000602, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7773/0.778, allocations: 142.4 MB / 0.9557 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.0008704/0.7789, allocations: 464.2 kB / 0.9561 GB, free: 7.559 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.7804, allocations: 1.516 MB / 0.9576 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.69e-05/0.7805, allocations: 1.375 kB / 0.9576 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.236e-05/0.7805, allocations: 3.938 kB / 0.9576 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.7807, allocations: 19.28 kB / 0.9576 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.781, allocations: 127.3 kB / 0.9578 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001221/0.7811, allocations: 110.1 kB / 0.9579 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.7812, allocations: 20.95 kB / 0.9579 GB, free: 6.16 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.7813, allocations: 39.03 kB / 0.9579 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.291e-05/0.7814, allocations: 47.23 kB / 0.958 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.035e-05/0.7815, allocations: 7.547 kB / 0.958 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.7816, allocations: 73.64 kB / 0.9581 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.219e-05/0.7816, allocations: 15.94 kB / 0.9581 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.431e-05/0.7817, allocations: 69.69 kB / 0.9581 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001703/0.7819, allocations: 146.2 kB / 0.9583 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.7819, allocations: 5.188 kB / 0.9583 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.533e-06/0.7819, allocations: 0 / 0.9583 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.7819, allocations: 0 / 0.9583 GB, free: 5.906 MB / 0.7169 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.0005707/0.7825, allocations: 408.9 kB / 0.9587 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.7825, allocations: 8.719 kB / 0.9587 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.942e-05/0.7826, allocations: 24.91 kB / 0.9587 GB, free: 5.48 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.291e-05/0.7827, allocations: 181.8 kB / 0.9589 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.806e-05/0.7827, allocations: 30.11 kB / 0.9589 GB, free: 5.238 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.7827, allocations: 10.19 kB / 0.9589 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001525/0.7829, allocations: 102.6 kB / 0.959 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.995e-06/0.7829, allocations: 3.938 kB / 0.959 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.7829, allocations: 5.125 kB / 0.959 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.783, allocations: 6.344 kB / 0.959 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.252e-05/0.783, allocations: 38.48 kB / 0.9591 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005155/0.7836, allocations: 0.5218 MB / 0.9596 GB, free: 4.578 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004258/0.784, allocations: 135.4 kB / 0.9597 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.102e-05/0.7841, allocations: 49.22 kB / 0.9597 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.7841, allocations: 5.875 kB / 0.9598 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001832/0.7843, allocations: 114.9 kB / 0.9599 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.7843, allocations: 0 / 0.9599 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0002937/0.7846, allocations: 146.1 kB / 0.96 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.7846, allocations: 109.5 kB / 0.9601 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.279e-05/0.7847, allocations: 126.3 kB / 0.9602 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.7847, allocations: 31.08 kB / 0.9603 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.485e-05/0.7848, allocations: 95.06 kB / 0.9603 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.42e-05/0.7848, allocations: 23.75 kB / 0.9604 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.246e-05/0.7849, allocations: 27.14 kB / 0.9604 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.337e-05/0.7849, allocations: 324.1 kB / 0.9607 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.746e-05/0.785, allocations: 41.92 kB / 0.9607 GB, free: 3.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.7851, allocations: 37.34 kB / 0.9608 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.7852, allocations: 73.97 kB / 0.9608 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.7852, allocations: 0 / 0.9608 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002212/0.7855, allocations: 135.7 kB / 0.961 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7855, allocations: 5.531 kB / 0.961 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.7855, allocations: 5.312 kB / 0.961 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7855, allocations: 0 / 0.961 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001176/0.7856, allocations: 19.11 kB / 0.961 GB, free: 3.305 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.7857, allocations: 5.375 kB / 0.961 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.781e-05/0.7858, allocations: 14.86 kB / 0.961 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.7858, allocations: 6.688 kB / 0.961 GB, free: 3.289 MB / 0.7169 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 7.11e-05/0.7858, allocations: 120.3 kB / 0.9611 GB, free: 3.168 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.873e-05/0.7859, allocations: 11.97 kB / 0.9612 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002131/0.7861, allocations: 122.7 kB / 0.9613 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-06/0.7861, allocations: 1.969 kB / 0.9613 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.7861, allocations: 2.031 kB / 0.9613 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.7861, allocations: 0 / 0.9613 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001434/0.7863, allocations: 221.6 kB / 0.9615 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.7863, allocations: 5.031 kB / 0.9615 GB, free: 2.824 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.7864, allocations: 19.92 kB / 0.9615 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7864, allocations: 1.312 kB / 0.9615 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.7864, allocations: 10.12 kB / 0.9615 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.7864, allocations: 5.094 kB / 0.9615 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7864, allocations: 1.094 kB / 0.9615 GB, free: 2.809 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002167/0.7867, allocations: 176.4 kB / 0.9617 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.006e-05/0.7867, allocations: 103.6 kB / 0.9618 GB, free: 2.559 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.404e-05/0.7867, allocations: 5.859 kB / 0.9618 GB, free: 2.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.439e-05/0.7868, allocations: 14.44 kB / 0.9618 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.7869, allocations: 17.83 kB / 0.9618 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.7869, allocations: 8 kB / 0.9618 GB, free: 2.531 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.259e-05/0.787, allocations: 98.14 kB / 0.9619 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.787, allocations: 0 / 0.9619 GB, free: 2.449 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002788/0.7872, allocations: 59.33 kB / 0.962 GB, free: 2.43 MB / 0.7169 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.0002086/0.7875, allocations: 156.5 kB / 0.9621 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000222/0.7877, allocations: 104.2 kB / 0.9622 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7877, allocations: 0 / 0.9622 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.7878, allocations: 50.7 kB / 0.9623 GB, free: 2.242 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002087/0.788, allocations: 9.375 kB / 0.9623 GB, free: 2.238 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000425/0.7884, allocations: 303.5 kB / 0.9626 GB, free: 1.965 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000113/0.7886, allocations: 0.6958 MB / 0.9633 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.693e-05/0.7886, allocations: 19.67 kB / 0.9633 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of SimCode: time 2.61e-07/0.7886, allocations: 0 / 0.9633 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of Templates: time 0.003342/0.792, allocations: 1.797 MB / 0.965 GB, free: 336 kB / 0.7169 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