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.00115/0.00115, allocations: 102.9 kB / 16.27 MB, free: 5.957 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.001112/0.001112, allocations: 191.4 kB / 17.2 MB, free: 5.59 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.386/1.386, allocations: 222.9 MB / 240.9 MB, free: 15.05 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.167/2.167, allocations: 390.2 MB / 0.6653 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001597/0.001597, allocations: 65.47 kB / 0.8132 GB, free: 32.95 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.2771, allocations: 140.4 MB / 0.9503 GB, free: 8.914 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002881/0.28, allocations: 1.523 MB / 0.9517 GB, free: 7.379 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001308/0.2814, allocations: 0.7595 MB / 0.9525 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.397e-05/0.2814, allocations: 4 kB / 0.9525 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.346e-05/0.2815, allocations: 7.922 kB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.396e-05/0.2816, allocations: 11.81 kB / 0.9525 GB, free: 6.59 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005122/0.2821, allocations: 127.5 kB / 0.9526 GB, free: 6.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2822, allocations: 87.77 kB / 0.9527 GB, free: 6.379 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.652e-05/0.2823, allocations: 19.97 kB / 0.9527 GB, free: 6.359 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.171e-05/0.2824, allocations: 47.78 kB / 0.9528 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.194e-05/0.2825, allocations: 35.84 kB / 0.9528 GB, free: 6.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.9e-05/0.2825, allocations: 4 kB / 0.9528 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001988/0.2827, allocations: 99.84 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.265e-05/0.2828, allocations: 27.89 kB / 0.9529 GB, free: 6.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.2828, allocations: 31.86 kB / 0.953 GB, free: 6.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002293/0.2831, allocations: 155.8 kB / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2831, allocations: 0 / 0.9531 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2831, allocations: 4 kB / 0.9531 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2831, allocations: 0 / 0.9531 GB, free: 5.961 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.0007886/0.2839, allocations: 470.5 kB / 0.9536 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.2839, allocations: 12.03 kB / 0.9536 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.773e-05/0.284, allocations: 8.844 kB / 0.9536 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.2841, allocations: 184.1 kB / 0.9538 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.348e-05/0.2842, allocations: 42.14 kB / 0.9538 GB, free: 5.156 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.2842, allocations: 8.375 kB / 0.9538 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.2844, allocations: 77.77 kB / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.2845, allocations: 0 / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.304e-05/0.2845, allocations: 0 / 0.9539 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2845, allocations: 4 kB / 0.9539 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001866/0.2847, allocations: 47.95 kB / 0.9539 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005199/0.2852, allocations: 328.7 kB / 0.9543 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.2854, allocations: 70.53 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000113/0.2855, allocations: 40.83 kB / 0.9544 GB, free: 4.523 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.527e-05/0.2856, allocations: 8 kB / 0.9544 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00026/0.2858, allocations: 91.39 kB / 0.9545 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.2859, allocations: 3.938 kB / 0.9545 GB, free: 4.41 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0004896/0.2864, allocations: 169.5 kB / 0.9546 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.623e-05/0.2864, allocations: 51.41 kB / 0.9547 GB, free: 4.176 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.2865, allocations: 145.1 kB / 0.9548 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.086e-05/0.2865, allocations: 29.7 kB / 0.9548 GB, free: 3.988 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.53e-05/0.2866, allocations: 96.36 kB / 0.9549 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.713e-05/0.2866, allocations: 27.8 kB / 0.955 GB, free: 3.859 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.609e-05/0.2867, allocations: 29.7 kB / 0.955 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2868, allocations: 326.8 kB / 0.9553 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001064/0.2869, allocations: 27.98 kB / 0.9553 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001228/0.2871, allocations: 69.5 kB / 0.9554 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002281/0.2873, allocations: 117 kB / 0.9555 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.2873, allocations: 4 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002841/0.2876, allocations: 129.4 kB / 0.9556 GB, free: 3.113 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.2876, allocations: 11.94 kB / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2876, allocations: 0 / 0.9556 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.2877, allocations: 8.125 kB / 0.9556 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.2878, allocations: 19.98 kB / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/0.2878, allocations: 0 / 0.9557 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001057/0.2879, allocations: 15.92 kB / 0.9557 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.2879, allocations: 7.984 kB / 0.9557 GB, free: 3.051 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.459e-05/0.288, allocations: 128.8 kB / 0.9558 GB, free: 2.918 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.062e-05/0.2881, allocations: 11.81 kB / 0.9558 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.171e-05/0.2881, allocations: 12.72 kB / 0.9558 GB, free: 2.895 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.2881, allocations: 4 kB / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.2881, allocations: 0 / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.2881, allocations: 0 / 0.9558 GB, free: 2.891 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006046/0.2887, allocations: 422.3 kB / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.2887, allocations: 0 / 0.9562 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.631e-05/0.2888, allocations: 19.92 kB / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2888, allocations: 0 / 0.9563 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.2889, allocations: 8 kB / 0.9563 GB, free: 2.395 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2889, allocations: 3.938 kB / 0.9563 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.2889, allocations: 0 / 0.9563 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003308/0.2892, allocations: 223.3 kB / 0.9565 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.087e-05/0.2893, allocations: 85.02 kB / 0.9566 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.2893, allocations: 12.03 kB / 0.9566 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001299/0.2894, allocations: 11.92 kB / 0.9566 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.2895, allocations: 15.97 kB / 0.9566 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.407e-05/0.2895, allocations: 7.984 kB / 0.9566 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.323e-05/0.2896, allocations: 103.3 kB / 0.9567 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2896, allocations: 0 / 0.9567 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003037/0.2899, allocations: 36.19 kB / 0.9567 GB, free: 1.871 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.0003501/0.2902, allocations: 162.5 kB / 0.9569 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.2906, allocations: 99.81 kB / 0.957 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.2906, allocations: 0 / 0.957 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.2907, allocations: 56.16 kB / 0.957 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.291, allocations: 7.984 kB / 0.9571 GB, free: 1.555 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/0.2915, allocations: 245.2 kB / 0.9573 GB, free: 1.281 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002348/0.2918, allocations: 0.6924 MB / 0.958 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.025e-05/0.2918, allocations: 11.44 kB / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of SimCode: time 2.51e-07/0.2918, allocations: 0 / 0.958 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of Templates: time 0.00344/0.2953, allocations: 1.87 MB / 0.9598 GB, free: 14.68 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