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.001811/0.001811, allocations: 106.8 kB / 15.99 MB, free: 6.359 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.00218/0.00218, allocations: 191.7 kB / 16.91 MB, free: 6.195 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 13.73 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.247/2.247, allocations: 390.2 MB / 0.665 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 68.61 kB / 0.8127 GB, free: 32.47 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2603, allocations: 140.4 MB / 0.9498 GB, free: 9.199 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002217/0.2625, allocations: 0.7846 MB / 0.9505 GB, free: 8.41 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001972/0.2645, allocations: 1.513 MB / 0.952 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.649e-05/0.2646, allocations: 0 / 0.952 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.363e-05/0.2647, allocations: 11.92 kB / 0.952 GB, free: 6.867 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.000164/0.2649, allocations: 11.86 kB / 0.952 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004693/0.2653, allocations: 139.7 kB / 0.9522 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001592/0.2655, allocations: 119.7 kB / 0.9523 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.2656, allocations: 23.98 kB / 0.9523 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001356/0.2658, allocations: 51.78 kB / 0.9524 GB, free: 6.527 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.2659, allocations: 47.83 kB / 0.9524 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.622e-05/0.2659, allocations: 12 kB / 0.9524 GB, free: 6.469 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.2661, allocations: 91.92 kB / 0.9525 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.422e-05/0.2661, allocations: 23.92 kB / 0.9525 GB, free: 6.355 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.687e-05/0.2662, allocations: 43.84 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002219/0.2664, allocations: 151.9 kB / 0.9527 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2665, allocations: 0 / 0.9527 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2665, allocations: 0 / 0.9527 GB, free: 6.164 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.2665, allocations: 0 / 0.9527 GB, free: 6.164 MB / 0.7325 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.0007343/0.2672, allocations: 431 kB / 0.9531 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.2673, allocations: 8.031 kB / 0.9531 GB, free: 5.688 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.397e-05/0.2673, allocations: 8.844 kB / 0.9531 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2675, allocations: 184.2 kB / 0.9533 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.339e-05/0.2675, allocations: 34.27 kB / 0.9533 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.294e-05/0.2676, allocations: 4.375 kB / 0.9533 GB, free: 5.418 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.2678, allocations: 108.3 kB / 0.9535 GB, free: 5.297 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.2678, allocations: 4 kB / 0.9535 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.2678, allocations: 4 kB / 0.9535 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2678, allocations: 4 kB / 0.9535 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.2679, allocations: 51.89 kB / 0.9535 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.2686, allocations: 0.5204 MB / 0.954 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.2691, allocations: 135.7 kB / 0.9541 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.2692, allocations: 42.66 kB / 0.9542 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.2692, allocations: 4 kB / 0.9542 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000257/0.2695, allocations: 109.9 kB / 0.9543 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.443e-06/0.2695, allocations: 4 kB / 0.9543 GB, free: 4.309 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0003399/0.2699, allocations: 145.5 kB / 0.9544 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.2699, allocations: 110.8 kB / 0.9545 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.762e-05/0.27, allocations: 117.8 kB / 0.9547 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.43e-05/0.2701, allocations: 29.7 kB / 0.9547 GB, free: 3.867 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.686e-05/0.2701, allocations: 100.3 kB / 0.9548 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.2702, allocations: 27.64 kB / 0.9548 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.519e-05/0.2702, allocations: 41.77 kB / 0.9548 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.2704, allocations: 326.7 kB / 0.9552 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.2705, allocations: 35.98 kB / 0.9552 GB, free: 3.324 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001337/0.2707, allocations: 39.97 kB / 0.9552 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002564/0.2709, allocations: 74.95 kB / 0.9553 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.2709, allocations: 0 / 0.9553 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002439/0.2712, allocations: 125.5 kB / 0.9554 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2712, allocations: 4 kB / 0.9554 GB, free: 3.078 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.2712, allocations: 3.984 kB / 0.9554 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.2712, allocations: 4 kB / 0.9554 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.2714, allocations: 27.92 kB / 0.9555 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.2714, allocations: 3.984 kB / 0.9555 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.32e-05/0.2715, allocations: 15.84 kB / 0.9555 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.2715, allocations: 3.938 kB / 0.9555 GB, free: 3.02 MB / 0.7325 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.0001071/0.2716, allocations: 127.8 kB / 0.9556 GB, free: 2.887 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.2717, allocations: 7.906 kB / 0.9556 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.2719, allocations: 118.1 kB / 0.9557 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.2719, allocations: 4 kB / 0.9557 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.2719, allocations: 48 / 0.9557 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.272, allocations: 3.984 kB / 0.9557 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002789/0.2722, allocations: 221.4 kB / 0.9559 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.2723, allocations: 0 / 0.9559 GB, free: 2.484 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.2724, allocations: 24.23 kB / 0.956 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.2724, allocations: 11.94 kB / 0.956 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.2725, allocations: 4 kB / 0.956 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.2725, allocations: 0 / 0.956 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.2725, allocations: 4 kB / 0.956 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.2729, allocations: 181.2 kB / 0.9562 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.196e-05/0.273, allocations: 100.9 kB / 0.9563 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.62e-05/0.273, allocations: 4 kB / 0.9563 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.563e-05/0.2731, allocations: 11.98 kB / 0.9563 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.2731, allocations: 19.92 kB / 0.9563 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.283e-05/0.2732, allocations: 4 kB / 0.9563 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.2732, allocations: 102.8 kB / 0.9564 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2732, allocations: 0 / 0.9564 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002904/0.2735, allocations: 55.94 kB / 0.9564 GB, free: 1.934 MB / 0.7325 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.0002841/0.2738, allocations: 151.1 kB / 0.9566 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002543/0.2741, allocations: 107.8 kB / 0.9567 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2741, allocations: 0 / 0.9567 GB, free: 1.668 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.74e-05/0.2742, allocations: 55.91 kB / 0.9567 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002258/0.2744, allocations: 8 kB / 0.9568 GB, free: 1.605 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005666/0.275, allocations: 302.8 kB / 0.957 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002457/0.2753, allocations: 0.7039 MB / 0.9577 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.2753, allocations: 15.44 kB / 0.9577 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of SimCode: time 3.51e-07/0.2753, allocations: 0 / 0.9577 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of Templates: time 0.004096/0.2794, allocations: 1.819 MB / 0.9595 GB, free: 14.71 MB / 0.7481 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