Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001661/0.001661, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001748/0.001748, allocations: 195 kB / 16.26 MB, free: 6.621 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.409/1.409, allocations: 222.9 MB / 239.9 MB, free: 4.527 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.412/2.412, allocations: 390.2 MB / 0.6643 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 67.89 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7123, allocations: 140.4 MB / 0.9491 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.003951/0.7163, allocations: 1.573 MB / 0.9506 GB, free: 7.98 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.7177, allocations: 0.7455 MB / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.955e-05/0.7178, allocations: 0 / 0.9514 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.7179, allocations: 3.938 kB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.154e-05/0.718, allocations: 14.8 kB / 0.9514 GB, free: 7.387 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005219/0.7185, allocations: 119.5 kB / 0.9515 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001279/0.7186, allocations: 100.3 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.7187, allocations: 13.39 kB / 0.9516 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.7189, allocations: 49.2 kB / 0.9516 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.655e-05/0.719, allocations: 45.92 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.719, allocations: 7.281 kB / 0.9517 GB, free: 7.176 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002044/0.7192, allocations: 100.1 kB / 0.9518 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.55e-05/0.7192, allocations: 24.09 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.15e-05/0.7193, allocations: 42.78 kB / 0.9519 GB, free: 7.074 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000292/0.7196, allocations: 157.6 kB / 0.952 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.7196, allocations: 1.281 kB / 0.952 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.814e-06/0.7196, allocations: 0 / 0.952 GB, free: 6.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.7196, allocations: 0 / 0.952 GB, free: 6.973 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007124/0.7204, allocations: 494.8 kB / 0.9525 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.7204, allocations: 9.781 kB / 0.9525 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.328e-05/0.7205, allocations: 16.61 kB / 0.9525 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001264/0.7206, allocations: 193.3 kB / 0.9527 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.7206, allocations: 7.25 kB / 0.9527 GB, free: 6.227 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.7207, allocations: 8.5 kB / 0.9527 GB, free: 6.223 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.7209, allocations: 84.98 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.7209, allocations: 0 / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.7209, allocations: 4 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.7209, allocations: 2.188 kB / 0.9528 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001439/0.721, allocations: 45.5 kB / 0.9528 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000495/0.7216, allocations: 341.4 kB / 0.9532 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.7218, allocations: 78.23 kB / 0.9532 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.567e-05/0.7219, allocations: 39.94 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.7219, allocations: 1.406 kB / 0.9533 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.7222, allocations: 107.2 kB / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=11): time 1.724e-06/0.7222, allocations: 0 / 0.9534 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.0004117/0.7226, allocations: 178.4 kB / 0.9535 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.7226, allocations: 54.84 kB / 0.9536 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.7227, allocations: 137.1 kB / 0.9537 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.7228, allocations: 25.7 kB / 0.9537 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.7228, allocations: 100.3 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.7228, allocations: 27.64 kB / 0.9539 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.894e-05/0.7229, allocations: 35.55 kB / 0.9539 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.022e-05/0.7229, allocations: 329.7 kB / 0.9542 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.939e-05/0.723, allocations: 28.42 kB / 0.9542 GB, free: 4.809 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.989e-05/0.7231, allocations: 69.47 kB / 0.9543 GB, free: 4.742 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000157/0.7233, allocations: 100.6 kB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.7233, allocations: 0 / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002309/0.7235, allocations: 144.5 kB / 0.9545 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.7236, allocations: 5.719 kB / 0.9546 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.7236, allocations: 1.188 kB / 0.9546 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.7236, allocations: 2.344 kB / 0.9546 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.7237, allocations: 23.11 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.7237, allocations: 2.5 kB / 0.9546 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.7238, allocations: 15.17 kB / 0.9546 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.281e-05/0.7238, allocations: 4.156 kB / 0.9546 GB, free: 4.555 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 (lig.curSeed,$PRE.lig.curSeed,lig.on,$PRE.lig.on,$whenCondition3,lig.sampleTrigger,$whenCondition2,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * 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.792e-05/0.7239, allocations: 136.3 kB / 0.9547 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.054e-05/0.724, allocations: 8 kB / 0.9547 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003095/0.7243, allocations: 163.8 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.7243, allocations: 1.375 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7243, allocations: 1.375 kB / 0.9549 GB, free: 4.312 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7243, allocations: 3.938 kB / 0.9549 GB, free: 4.309 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004893/0.7248, allocations: 458 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.7248, allocations: 1.125 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.021e-05/0.7249, allocations: 8.188 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.7249, allocations: 0.9062 kB / 0.9553 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.393e-05/0.7249, allocations: 10.23 kB / 0.9554 GB, free: 3.891 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7249, allocations: 4 kB / 0.9554 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.7249, allocations: 8.797 kB / 0.9554 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002491/0.7252, allocations: 247.3 kB / 0.9556 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.7252, allocations: 84.14 kB / 0.9557 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.497e-05/0.7252, allocations: 3.562 kB / 0.9557 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.7254, allocations: 11.89 kB / 0.9557 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.7254, allocations: 11.86 kB / 0.9557 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.729e-05/0.7254, allocations: 2.906 kB / 0.9557 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.468e-05/0.7255, allocations: 106 kB / 0.9558 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7255, allocations: 0 / 0.9558 GB, free: 3.484 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003317/0.7258, allocations: 49.25 kB / 0.9559 GB, free: 3.469 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003207/0.7262, allocations: 153.8 kB / 0.956 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.7264, allocations: 99.55 kB / 0.9561 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.7264, allocations: 4.188 kB / 0.9561 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001139/0.7266, allocations: 60.94 kB / 0.9562 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.7269, allocations: 22.69 kB / 0.9562 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004093/0.7273, allocations: 233.8 kB / 0.9564 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001231/0.7274, allocations: 0.7015 MB / 0.9571 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.032e-05/0.7275, allocations: 11.42 kB / 0.9571 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.712e-05/0.7275, allocations: 16.95 kB / 0.9571 GB, free: 2.355 MB / 0.7169 GB Notification: Performance of SimCode: time 2.4e-07/0.7275, allocations: 5 kB / 0.9571 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of Templates: time 0.004349/0.7319, allocations: 1.889 MB / 0.959 GB, free: 1.383 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches