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.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.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.001124/0.001124, allocations: 103.3 kB / 16.35 MB, free: 5.875 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.001344/0.001344, allocations: 191 kB / 17.29 MB, free: 5.516 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.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.194/2.194, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.001401, allocations: 68.36 kB / 0.814 GB, free: 32.59 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2377/0.2392, allocations: 140.4 MB / 0.9511 GB, free: 8.105 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002515/0.2417, allocations: 1.52 MB / 0.9526 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.243, allocations: 0.7478 MB / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.07e-05/0.243, allocations: 0 / 0.9533 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.875e-05/0.2431, allocations: 15.86 kB / 0.9533 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.401e-05/0.2432, allocations: 11.86 kB / 0.9534 GB, free: 5.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.2437, allocations: 135.5 kB / 0.9535 GB, free: 5.664 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.2438, allocations: 99.69 kB / 0.9536 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.691e-05/0.2439, allocations: 12 kB / 0.9536 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.888e-05/0.244, allocations: 55.77 kB / 0.9536 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.924e-05/0.2441, allocations: 39.83 kB / 0.9537 GB, free: 5.461 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.842e-05/0.2441, allocations: 8 kB / 0.9537 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001699/0.2443, allocations: 91.91 kB / 0.9538 GB, free: 5.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.043e-05/0.2443, allocations: 27.91 kB / 0.9538 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.015e-05/0.2444, allocations: 43.78 kB / 0.9538 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.2446, allocations: 159.5 kB / 0.954 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.2446, allocations: 0 / 0.954 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2446, allocations: 0 / 0.954 GB, free: 5.137 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2446, allocations: 0 / 0.954 GB, free: 5.137 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006948/0.2453, allocations: 0.4884 MB / 0.9545 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.109e-05/0.2454, allocations: 12.03 kB / 0.9545 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.243e-05/0.2454, allocations: 16.75 kB / 0.9545 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.2456, allocations: 190.9 kB / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.2456, allocations: 384 / 0.9547 GB, free: 4.332 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.2456, allocations: 4.375 kB / 0.9547 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.2458, allocations: 93.89 kB / 0.9548 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.642e-06/0.2458, allocations: 0 / 0.9548 GB, free: 4.23 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.2458, allocations: 3.938 kB / 0.9548 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2458, allocations: 0 / 0.9548 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.246, allocations: 51.97 kB / 0.9548 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.2465, allocations: 332.7 kB / 0.9552 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002109/0.2467, allocations: 82.67 kB / 0.9552 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.722e-05/0.2468, allocations: 40.84 kB / 0.9553 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.2468, allocations: 4 kB / 0.9553 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002/0.2471, allocations: 103.3 kB / 0.9554 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=11): time 1.563e-06/0.2471, allocations: 0 / 0.9554 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.000414/0.2475, allocations: 173.5 kB / 0.9555 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.2475, allocations: 55.41 kB / 0.9556 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001019/0.2476, allocations: 130.1 kB / 0.9557 GB, free: 3.168 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.2477, allocations: 37.7 kB / 0.9557 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.461e-05/0.2477, allocations: 92.12 kB / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.028e-05/0.2478, allocations: 27.64 kB / 0.9559 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.843e-05/0.2478, allocations: 33.7 kB / 0.9559 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2479, allocations: 326.8 kB / 0.9562 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.72e-05/0.248, allocations: 27.98 kB / 0.9562 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000103/0.2481, allocations: 77.06 kB / 0.9563 GB, free: 2.516 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.2483, allocations: 105.1 kB / 0.9564 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.2483, allocations: 0 / 0.9564 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002537/0.2486, allocations: 141.3 kB / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.2486, allocations: 8 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.2486, allocations: 0 / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.2486, allocations: 4 kB / 0.9566 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.2487, allocations: 19.92 kB / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.2488, allocations: 0 / 0.9566 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001054/0.2489, allocations: 19.92 kB / 0.9566 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.2489, allocations: 7.938 kB / 0.9566 GB, free: 2.191 MB / 0.7325 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 9.314e-05/0.249, allocations: 133.7 kB / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.249, allocations: 11.89 kB / 0.9567 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003259/0.2494, allocations: 158.3 kB / 0.9569 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.656e-06/0.2494, allocations: 4 kB / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.2494, allocations: 0 / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.2494, allocations: 0 / 0.9569 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.25, allocations: 458.2 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.25, allocations: 0 / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-05/0.2501, allocations: 8 kB / 0.9573 GB, free: 1.363 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2501, allocations: 4 kB / 0.9573 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.2501, allocations: 3.984 kB / 0.9573 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.869e-06/0.2501, allocations: 7.938 kB / 0.9574 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2501, allocations: 3.938 kB / 0.9574 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.2504, allocations: 243.4 kB / 0.9576 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.989e-05/0.2505, allocations: 88.95 kB / 0.9577 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.2506, allocations: 11.88 kB / 0.9577 GB, free: 0.9727 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.2507, allocations: 7.984 kB / 0.9577 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.2507, allocations: 15.98 kB / 0.9577 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.2508, allocations: 4 kB / 0.9577 GB, free: 0.9453 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001176/0.2509, allocations: 106.3 kB / 0.9578 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2509, allocations: 0 / 0.9578 GB, free: 0.8438 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003147/0.2512, allocations: 40 kB / 0.9579 GB, free: 0.8047 MB / 0.7325 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.0003276/0.2515, allocations: 165.6 kB / 0.958 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000258/0.2518, allocations: 91.89 kB / 0.9581 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2518, allocations: 0 / 0.9581 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001196/0.252, allocations: 68.03 kB / 0.9582 GB, free: 0.4922 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.2523, allocations: 20.75 kB / 0.9582 GB, free: 484 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000475/0.2527, allocations: 215.8 kB / 0.9584 GB, free: 240 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/0.253, allocations: 0.7 MB / 0.9591 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.357e-05/0.2531, allocations: 16.38 kB / 0.9591 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.2531, allocations: 11.44 kB / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of SimCode: time 3.81e-07/0.2531, allocations: 0 / 0.9591 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of Templates: time 0.004982/0.2581, allocations: 1.946 MB / 0.961 GB, free: 13.54 MB / 0.7481 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 -s gbode -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/jenkins1/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