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.0009268/0.0009268, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.007365/0.007365, allocations: 172.4 kB / 16.26 MB, free: 6.613 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.49/2.49, allocations: 390.9 MB / 0.6663 GB, free: 2.324 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003865, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8999/0.9003, allocations: 142.4 MB / 0.955 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.001029/0.9014, allocations: 461.2 kB / 0.9555 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001952/0.9034, allocations: 1.517 MB / 0.957 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.933e-05/0.9034, allocations: 0 / 0.957 GB, free: 6.215 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.041e-05/0.9035, allocations: 5.438 kB / 0.957 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002178/0.9037, allocations: 18.75 kB / 0.957 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.9041, allocations: 135.3 kB / 0.9571 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.9042, allocations: 113.3 kB / 0.9572 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.9043, allocations: 20.66 kB / 0.9572 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001219/0.9045, allocations: 35.27 kB / 0.9573 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.9046, allocations: 47.94 kB / 0.9573 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.016e-05/0.9046, allocations: 3.594 kB / 0.9573 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001661/0.9048, allocations: 76.92 kB / 0.9574 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.9048, allocations: 15.16 kB / 0.9574 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.475e-05/0.9049, allocations: 70.95 kB / 0.9575 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/0.9052, allocations: 182.8 kB / 0.9577 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.9052, allocations: 1 kB / 0.9577 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.268e-06/0.9052, allocations: 0 / 0.9577 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.077e-06/0.9052, allocations: 0 / 0.9577 GB, free: 5.75 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.0006874/0.9059, allocations: 419.7 kB / 0.9581 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.9059, allocations: 9.594 kB / 0.9581 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.625e-05/0.906, allocations: 10.22 kB / 0.9581 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.9061, allocations: 180.2 kB / 0.9582 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.616e-05/0.9062, allocations: 39.38 kB / 0.9583 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.307e-05/0.9063, allocations: 4.875 kB / 0.9583 GB, free: 5.078 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.9064, allocations: 103.3 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.9065, allocations: 1.25 kB / 0.9584 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.9065, allocations: 9.047 kB / 0.9584 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.9065, allocations: 1.219 kB / 0.9584 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.9066, allocations: 42.08 kB / 0.9584 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005805/0.9072, allocations: 0.5184 MB / 0.9589 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004461/0.9076, allocations: 139 kB / 0.9591 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.88e-05/0.9077, allocations: 54.02 kB / 0.9591 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.9078, allocations: 1.531 kB / 0.9591 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002264/0.908, allocations: 114.6 kB / 0.9592 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.282e-06/0.908, allocations: 0 / 0.9592 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003325/0.9083, allocations: 139.4 kB / 0.9594 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.987e-05/0.9084, allocations: 116.6 kB / 0.9595 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.05e-05/0.9085, allocations: 129.3 kB / 0.9596 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.853e-05/0.9085, allocations: 32.45 kB / 0.9596 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.565e-05/0.9086, allocations: 99.19 kB / 0.9597 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.627e-05/0.9086, allocations: 27.69 kB / 0.9598 GB, free: 3.656 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.103e-05/0.9086, allocations: 21.83 kB / 0.9598 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.944e-05/0.9087, allocations: 325.5 kB / 0.9601 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.84e-05/0.9088, allocations: 33.86 kB / 0.9601 GB, free: 3.293 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.89e-05/0.9089, allocations: 37.34 kB / 0.9602 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.909, allocations: 73.97 kB / 0.9602 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.909, allocations: 0 / 0.9602 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002263/0.9093, allocations: 141.7 kB / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.9093, allocations: 5.5 kB / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9093, allocations: 0 / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.9093, allocations: 1.375 kB / 0.9604 GB, free: 3.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.9095, allocations: 19.11 kB / 0.9604 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.9095, allocations: 0 / 0.9604 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.777e-05/0.9096, allocations: 10.88 kB / 0.9604 GB, free: 3.141 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.641e-05/0.9096, allocations: 12.05 kB / 0.9604 GB, free: 3.133 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 8.104e-05/0.9097, allocations: 127.3 kB / 0.9605 GB, free: 3.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/0.9097, allocations: 8.031 kB / 0.9605 GB, free: 3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002235/0.9099, allocations: 113.6 kB / 0.9606 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.9099, allocations: 2.75 kB / 0.9606 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.867e-05/0.91, allocations: 1.375 kB / 0.9606 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.91, allocations: 1.375 kB / 0.9607 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.9101, allocations: 224.8 kB / 0.9609 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.9101, allocations: 1.375 kB / 0.9609 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.824e-05/0.9102, allocations: 23.05 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.9102, allocations: 1.375 kB / 0.9609 GB, free: 2.664 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.9103, allocations: 6.75 kB / 0.9609 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.9103, allocations: 1.375 kB / 0.9609 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.9103, allocations: 0 / 0.9609 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.9105, allocations: 184.7 kB / 0.9611 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.546e-05/0.9106, allocations: 104 kB / 0.9612 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.9106, allocations: 5.375 kB / 0.9612 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.082e-05/0.9107, allocations: 14.86 kB / 0.9612 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.9108, allocations: 17.41 kB / 0.9612 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.237e-05/0.9108, allocations: 8.125 kB / 0.9612 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.892e-05/0.9108, allocations: 95.48 kB / 0.9613 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9108, allocations: 0 / 0.9613 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003/0.9111, allocations: 63.08 kB / 0.9614 GB, free: 2.27 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.000246/0.9114, allocations: 158.7 kB / 0.9615 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002588/0.9117, allocations: 98.69 kB / 0.9616 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9117, allocations: 0 / 0.9616 GB, free: 2.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.9118, allocations: 55.5 kB / 0.9617 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002241/0.912, allocations: 8.281 kB / 0.9617 GB, free: 2.078 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.9125, allocations: 273 kB / 0.9619 GB, free: 1.84 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001899/0.9127, allocations: 0.7012 MB / 0.9626 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 8.216e-05/0.9128, allocations: 12.36 kB / 0.9626 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.713e-05/0.9129, allocations: 14.72 kB / 0.9626 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of SimCode: time 5.31e-07/0.9129, allocations: 0.9688 kB / 0.9626 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of Templates: time 0.005063/0.9179, allocations: 1.635 MB / 0.9642 GB, free: 288 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/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