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.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.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.001094/0.001094, allocations: 101.7 kB / 15.98 MB, free: 6.359 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.001046/0.001046, allocations: 199.1 kB / 16.91 MB, free: 6.191 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.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.228/2.228, allocations: 390.2 MB / 0.665 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001341/0.001341, allocations: 61.03 kB / 0.8127 GB, free: 33.24 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2512, allocations: 140.4 MB / 0.9498 GB, free: 9.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003964/0.2552, allocations: 1.585 MB / 0.9513 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001625/0.2568, allocations: 0.7441 MB / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.611e-05/0.2569, allocations: 0 / 0.952 GB, free: 6.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.693e-05/0.257, allocations: 3.938 kB / 0.952 GB, free: 6.895 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001111/0.2571, allocations: 15.86 kB / 0.9521 GB, free: 6.879 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006512/0.2578, allocations: 107.8 kB / 0.9522 GB, free: 6.773 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001438/0.2579, allocations: 87.72 kB / 0.9522 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.2581, allocations: 19.97 kB / 0.9523 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2582, allocations: 47.84 kB / 0.9523 GB, free: 6.621 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.2583, allocations: 39.83 kB / 0.9523 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.007e-05/0.2583, allocations: 8 kB / 0.9524 GB, free: 6.574 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002048/0.2585, allocations: 91.84 kB / 0.9524 GB, free: 6.484 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.237e-05/0.2586, allocations: 19.92 kB / 0.9525 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.242e-05/0.2586, allocations: 43.83 kB / 0.9525 GB, free: 6.422 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002146/0.2589, allocations: 112 kB / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2589, allocations: 0 / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2589, allocations: 0 / 0.9526 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.2589, allocations: 4 kB / 0.9526 GB, free: 6.309 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.0007788/0.2597, allocations: 478.4 kB / 0.9531 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.2597, allocations: 8.031 kB / 0.9531 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.2598, allocations: 12.84 kB / 0.9531 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.2599, allocations: 186.3 kB / 0.9533 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.222e-05/0.26, allocations: 38.25 kB / 0.9533 GB, free: 5.5 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.867e-05/0.26, allocations: 4.375 kB / 0.9533 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002323/0.2603, allocations: 85.77 kB / 0.9534 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.2603, allocations: 0 / 0.9534 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.2603, allocations: 0 / 0.9534 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2603, allocations: 0 / 0.9534 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001999/0.2605, allocations: 55.89 kB / 0.9534 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005642/0.2611, allocations: 312.8 kB / 0.9537 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002348/0.2613, allocations: 70.53 kB / 0.9538 GB, free: 4.918 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.2615, allocations: 36.84 kB / 0.9538 GB, free: 4.879 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.2615, allocations: 4 kB / 0.9538 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.2618, allocations: 107.5 kB / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.704e-06/0.2618, allocations: 0 / 0.954 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0005051/0.2623, allocations: 161.5 kB / 0.9541 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.597e-05/0.2624, allocations: 59.39 kB / 0.9542 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.2625, allocations: 138 kB / 0.9543 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.2625, allocations: 33.64 kB / 0.9543 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.2626, allocations: 88.38 kB / 0.9544 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.2626, allocations: 28.02 kB / 0.9544 GB, free: 4.215 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.783e-05/0.2627, allocations: 33.7 kB / 0.9545 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.842e-05/0.2628, allocations: 318.8 kB / 0.9548 GB, free: 3.855 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.2629, allocations: 31.97 kB / 0.9548 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.2631, allocations: 85 kB / 0.9549 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.2633, allocations: 105 kB / 0.955 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.2633, allocations: 4 kB / 0.955 GB, free: 3.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003/0.2636, allocations: 133.4 kB / 0.9551 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.2636, allocations: 4 kB / 0.9551 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.2637, allocations: 4 kB / 0.9551 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2637, allocations: 0 / 0.9551 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.2638, allocations: 24.05 kB / 0.9551 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.2638, allocations: 4 kB / 0.9551 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2639, allocations: 15.98 kB / 0.9552 GB, free: 3.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/0.264, allocations: 4 kB / 0.9552 GB, free: 3.406 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 9.335e-05/0.2641, allocations: 121.6 kB / 0.9553 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.444e-05/0.2641, allocations: 15.81 kB / 0.9553 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.2641, allocations: 20.7 kB / 0.9553 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.2641, allocations: 4 kB / 0.9553 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.2642, allocations: 0 / 0.9553 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.2642, allocations: 0 / 0.9553 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006081/0.2648, allocations: 430.2 kB / 0.9557 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.2648, allocations: 3.984 kB / 0.9557 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.773e-05/0.2649, allocations: 8 kB / 0.9557 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.2649, allocations: 4 kB / 0.9557 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.2649, allocations: 3.984 kB / 0.9558 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.2649, allocations: 3.938 kB / 0.9558 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2649, allocations: 0 / 0.9558 GB, free: 2.742 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.2653, allocations: 227.3 kB / 0.956 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.114e-05/0.2653, allocations: 85.02 kB / 0.9561 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.2654, allocations: 0 / 0.9561 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001393/0.2655, allocations: 23.92 kB / 0.9561 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.2656, allocations: 8.172 kB / 0.9561 GB, free: 2.371 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.2656, allocations: 4 kB / 0.9561 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.078e-05/0.2657, allocations: 114.2 kB / 0.9562 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2657, allocations: 0 / 0.9562 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003243/0.266, allocations: 40 kB / 0.9562 GB, free: 2.219 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.0003619/0.2664, allocations: 160.7 kB / 0.9564 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003062/0.2667, allocations: 91.81 kB / 0.9565 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.2667, allocations: 0 / 0.9565 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001398/0.2668, allocations: 51.91 kB / 0.9565 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002982/0.2672, allocations: 22.73 kB / 0.9565 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005031/0.2677, allocations: 248.1 kB / 0.9568 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002278/0.2679, allocations: 0.7002 MB / 0.9575 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.268, allocations: 27.36 kB / 0.9575 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of SimCode: time 1.493e-06/0.268, allocations: 0 / 0.9575 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of Templates: time 0.003931/0.2719, allocations: 1.866 MB / 0.9593 GB, free: 15.01 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 -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