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.001125/0.001125, allocations: 108 kB / 15.6 MB, free: 132 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.001427/0.001427, allocations: 198.5 kB / 16.54 MB, free: 6.672 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.448/2.448, allocations: 390.2 MB / 0.6646 GB, free: 440 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001445, allocations: 63.91 kB / 0.8125 GB, free: 14.47 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7628/0.7643, allocations: 140.4 MB / 0.9496 GB, free: 9.297 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.OutdoorLights.Validation.DaylightControlled): time 0.002178/0.7665, allocations: 0.7169 MB / 0.9503 GB, free: 8.746 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002209/0.7687, allocations: 1.528 MB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.718e-05/0.7688, allocations: 1 kB / 0.9518 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.7689, allocations: 7.875 kB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.7691, allocations: 14.89 kB / 0.9518 GB, free: 7.492 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005074/0.7696, allocations: 159.1 kB / 0.9519 GB, free: 7.379 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001981/0.7698, allocations: 120 kB / 0.9521 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.7699, allocations: 25.53 kB / 0.9521 GB, free: 7.293 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.7701, allocations: 51.22 kB / 0.9521 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001214/0.7702, allocations: 50.73 kB / 0.9522 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.531e-05/0.7703, allocations: 15.81 kB / 0.9522 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002393/0.7705, allocations: 87.94 kB / 0.9523 GB, free: 7.188 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.028e-05/0.7706, allocations: 24.09 kB / 0.9523 GB, free: 7.168 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.817e-05/0.7707, allocations: 48.47 kB / 0.9523 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.771, allocations: 183.7 kB / 0.9525 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.771, allocations: 1.75 kB / 0.9525 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.925e-06/0.771, allocations: 3.984 kB / 0.9525 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.771, allocations: 0 / 0.9525 GB, free: 7.012 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.0008111/0.7719, allocations: 434.2 kB / 0.9529 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.7719, allocations: 9.938 kB / 0.9529 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.782e-05/0.772, allocations: 13.78 kB / 0.953 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001247/0.7721, allocations: 172.3 kB / 0.9531 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.121e-05/0.7722, allocations: 35.42 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.059e-05/0.7723, allocations: 4.75 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002677/0.7726, allocations: 113.1 kB / 0.9533 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.498e-05/0.7726, allocations: 0 / 0.9533 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.962e-05/0.7726, allocations: 0 / 0.9533 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.269e-05/0.7726, allocations: 1.562 kB / 0.9533 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001693/0.7728, allocations: 46.72 kB / 0.9533 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007365/0.7736, allocations: 0.5192 MB / 0.9538 GB, free: 5.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006535/0.7742, allocations: 136.5 kB / 0.954 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.7744, allocations: 50.69 kB / 0.954 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 3.085e-05/0.7744, allocations: 1.344 kB / 0.954 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002859/0.7747, allocations: 118.6 kB / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.543e-06/0.7747, allocations: 0 / 0.9541 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0003442/0.7751, allocations: 147 kB / 0.9543 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.7751, allocations: 108.8 kB / 0.9544 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.132e-05/0.7752, allocations: 122.6 kB / 0.9545 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.7752, allocations: 34.84 kB / 0.9545 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.7753, allocations: 87.33 kB / 0.9546 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.793e-05/0.7753, allocations: 35.64 kB / 0.9546 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.639e-05/0.7754, allocations: 41.05 kB / 0.9547 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.66e-05/0.7755, allocations: 317 kB / 0.955 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.7756, allocations: 39.09 kB / 0.955 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.7757, allocations: 38.27 kB / 0.955 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.776, allocations: 76.5 kB / 0.9551 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.776, allocations: 3.938 kB / 0.9551 GB, free: 4.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003625/0.7764, allocations: 124.5 kB / 0.9552 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.187e-05/0.7764, allocations: 13.17 kB / 0.9553 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.7764, allocations: 3.938 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.7765, allocations: 1.594 kB / 0.9553 GB, free: 4.395 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/0.7767, allocations: 18.17 kB / 0.9553 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.7767, allocations: 5.328 kB / 0.9553 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001455/0.7768, allocations: 12.81 kB / 0.9553 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.075e-05/0.7769, allocations: 11.17 kB / 0.9553 GB, free: 4.371 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 0.0001068/0.777, allocations: 131.6 kB / 0.9554 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.403e-05/0.777, allocations: 13.16 kB / 0.9554 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003202/0.7774, allocations: 113.5 kB / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.7774, allocations: 2.344 kB / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.7774, allocations: 1.781 kB / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.7774, allocations: 1.406 kB / 0.9556 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002307/0.7777, allocations: 220.3 kB / 0.9558 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.7777, allocations: 5.188 kB / 0.9558 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.7778, allocations: 26.89 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.7778, allocations: 1.219 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.7778, allocations: 2.375 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.7779, allocations: 1.219 kB / 0.9558 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7779, allocations: 5.188 kB / 0.9558 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.7782, allocations: 183.8 kB / 0.956 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.7783, allocations: 98.69 kB / 0.9561 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.488e-05/0.7783, allocations: 6.312 kB / 0.9561 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.7784, allocations: 7.516 kB / 0.9561 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.035e-05/0.7785, allocations: 18.42 kB / 0.9561 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.654e-05/0.7785, allocations: 4.156 kB / 0.9561 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.304e-05/0.7786, allocations: 98.36 kB / 0.9562 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7786, allocations: 1.156 kB / 0.9562 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005166/0.7791, allocations: 59.7 kB / 0.9563 GB, free: 3.512 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.0002925/0.7794, allocations: 156 kB / 0.9564 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003308/0.7798, allocations: 98.97 kB / 0.9565 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7798, allocations: 1.125 kB / 0.9565 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.7799, allocations: 58.55 kB / 0.9566 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003341/0.7803, allocations: 9.812 kB / 0.9566 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005399/0.7808, allocations: 239.2 kB / 0.9568 GB, free: 3.113 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.781, allocations: 0.7053 MB / 0.9575 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.7811, allocations: 22.45 kB / 0.9575 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.752e-05/0.7812, allocations: 15.72 kB / 0.9575 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of SimCode: time 2.81e-07/0.7812, allocations: 0 / 0.9575 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of Templates: time 0.00768/0.7888, allocations: 1.725 MB / 0.9592 GB, free: 1.5 MB / 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