Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.Hunt1979Light,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.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,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.Hunt1979Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 103.5 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.00113/0.00113, 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.373/1.373, 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.209/2.209, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.34 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2473/0.2486, allocations: 140.4 MB / 0.9511 GB, free: 8.078 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002546/0.2512, allocations: 1.523 MB / 0.9526 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.2524, allocations: 0.7712 MB / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.87e-05/0.2524, allocations: 0 / 0.9533 GB, free: 5.777 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.898e-05/0.2525, allocations: 7.938 kB / 0.9534 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.035e-05/0.2526, allocations: 11.81 kB / 0.9534 GB, free: 5.758 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.253, allocations: 127.6 kB / 0.9535 GB, free: 5.633 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2532, allocations: 87.7 kB / 0.9536 GB, free: 5.547 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.869e-05/0.2533, allocations: 19.97 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.677e-05/0.2534, allocations: 39.8 kB / 0.9536 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.2534, allocations: 39.83 kB / 0.9537 GB, free: 5.449 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.2535, allocations: 8 kB / 0.9537 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.2536, allocations: 99.84 kB / 0.9538 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.252e-05/0.2537, allocations: 23.91 kB / 0.9538 GB, free: 5.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.822e-05/0.2537, allocations: 35.84 kB / 0.9538 GB, free: 5.285 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002234/0.254, allocations: 155.5 kB / 0.954 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.254, allocations: 0 / 0.954 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.254, allocations: 0 / 0.954 GB, free: 5.133 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.254, allocations: 4 kB / 0.954 GB, free: 5.129 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007095/0.2547, allocations: 474.5 kB / 0.9544 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.22e-05/0.2548, allocations: 12.03 kB / 0.9544 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.41e-05/0.2548, allocations: 8.844 kB / 0.9544 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.2549, allocations: 180.1 kB / 0.9546 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.255, allocations: 42.25 kB / 0.9547 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/0.255, allocations: 4.375 kB / 0.9547 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001965/0.2552, allocations: 81.77 kB / 0.9547 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2553, allocations: 0 / 0.9547 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.2553, allocations: 0 / 0.9547 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.982e-06/0.2553, allocations: 11.94 kB / 0.9548 GB, free: 4.223 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001871/0.2555, allocations: 51.89 kB / 0.9548 GB, free: 4.172 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.256, allocations: 316.8 kB / 0.9551 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.2562, allocations: 78.47 kB / 0.9552 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001047/0.2563, allocations: 32.94 kB / 0.9552 GB, free: 3.691 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.2563, allocations: 3.938 kB / 0.9552 GB, free: 3.688 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002155/0.2565, allocations: 103.3 kB / 0.9553 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.2566, allocations: 0 / 0.9553 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004599/0.257, allocations: 165.5 kB / 0.9555 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.2571, allocations: 55.39 kB / 0.9555 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.2572, allocations: 134 kB / 0.9557 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.695e-05/0.2572, allocations: 33.7 kB / 0.9557 GB, free: 3.156 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.595e-05/0.2573, allocations: 92.38 kB / 0.9558 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-05/0.2573, allocations: 27.78 kB / 0.9558 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.2573, allocations: 33.7 kB / 0.9558 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.492e-05/0.2574, allocations: 322.8 kB / 0.9561 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.2576, allocations: 31.97 kB / 0.9562 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001261/0.2577, allocations: 81.06 kB / 0.9562 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.2579, allocations: 113 kB / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.2579, allocations: 0 / 0.9564 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002861/0.2582, allocations: 133.4 kB / 0.9565 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.2582, allocations: 10.03 kB / 0.9565 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.2583, allocations: 0 / 0.9565 GB, free: 2.266 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2583, allocations: 4 kB / 0.9565 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.2584, allocations: 19.92 kB / 0.9565 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.2584, allocations: 4.125 kB / 0.9565 GB, free: 2.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.2585, allocations: 15.98 kB / 0.9565 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.2585, allocations: 4.375 kB / 0.9565 GB, free: 2.219 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.478e-05/0.2586, allocations: 126.1 kB / 0.9567 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.2587, allocations: 11.81 kB / 0.9567 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.354e-05/0.2587, allocations: 16.7 kB / 0.9567 GB, free: 2.059 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.2587, allocations: 3.938 kB / 0.9567 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.2587, allocations: 8 kB / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.2587, allocations: 0 / 0.9567 GB, free: 2.047 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005667/0.2593, allocations: 422.2 kB / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.2593, allocations: 0 / 0.9571 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.587e-05/0.2594, allocations: 11.98 kB / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2594, allocations: 0 / 0.9571 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.2594, allocations: 3.984 kB / 0.9571 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.2594, allocations: 15.88 kB / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2594, allocations: 0 / 0.9571 GB, free: 1.547 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003199/0.2598, allocations: 223.3 kB / 0.9573 GB, free: 1.312 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.872e-05/0.2598, allocations: 85 kB / 0.9574 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.2598, allocations: 4 kB / 0.9574 GB, free: 1.207 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001312/0.26, allocations: 19.92 kB / 0.9574 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.053e-05/0.26, allocations: 11.98 kB / 0.9575 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.608e-05/0.2601, allocations: 4 kB / 0.9575 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.687e-05/0.2601, allocations: 102.1 kB / 0.9576 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.2601, allocations: 0 / 0.9576 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003008/0.2604, allocations: 43.98 kB / 0.9576 GB, free: 1.031 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0002986/0.2607, allocations: 164.2 kB / 0.9578 GB, free: 0.8711 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.261, allocations: 91.81 kB / 0.9578 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.261, allocations: 0 / 0.9578 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.2612, allocations: 51.91 kB / 0.9579 GB, free: 0.7305 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.2615, allocations: 16.25 kB / 0.9579 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.2619, allocations: 207.5 kB / 0.9581 GB, free: 496 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.2622, allocations: 0.6924 MB / 0.9588 GB, free: 15.77 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.042e-05/0.2622, allocations: 16.66 kB / 0.9588 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.318e-05/0.2623, allocations: 11.44 kB / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.2623, allocations: 0 / 0.9588 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of Templates: time 0.00445/0.2667, allocations: 1.81 MB / 0.9606 GB, free: 13.94 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches