Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.006035/0.006035, allocations: 99.64 kB / 15.73 MB, free: 6.031 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.001236/0.001236, allocations: 193.8 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.715/2.715, allocations: 461.9 MB / 0.7348 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 67.89 kB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3396, allocations: 157.4 MB / 1.208 GB, free: 9.656 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.002692/0.3423, allocations: 1.514 MB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001355/0.3437, allocations: 0.756 MB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.342e-05/0.3438, allocations: 0 / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.816e-05/0.3438, allocations: 11.86 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.512e-05/0.3439, allocations: 15.88 kB / 1.21 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.3445, allocations: 131.5 kB / 1.21 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/0.3446, allocations: 79.77 kB / 1.21 GB, free: 7.133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.347e-05/0.3447, allocations: 19.97 kB / 1.21 GB, free: 7.113 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.591e-05/0.3448, allocations: 35.86 kB / 1.21 GB, free: 7.078 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.763e-05/0.3449, allocations: 47.77 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.345, allocations: 8 kB / 1.21 GB, free: 7.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001885/0.3452, allocations: 95.84 kB / 1.21 GB, free: 6.93 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.3452, allocations: 23.91 kB / 1.21 GB, free: 6.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.117e-05/0.3452, allocations: 39.8 kB / 1.21 GB, free: 6.867 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.3455, allocations: 163.5 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3455, allocations: 0 / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.012e-06/0.3455, allocations: 0 / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.774e-06/0.3455, allocations: 0 / 1.211 GB, free: 6.707 MB / 0.9669 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.0007319/0.3462, allocations: 474.5 kB / 1.211 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.3463, allocations: 8.031 kB / 1.211 GB, free: 6.176 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.3463, allocations: 16.83 kB / 1.211 GB, free: 6.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.3465, allocations: 172.2 kB / 1.211 GB, free: 5.953 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.3466, allocations: 46.19 kB / 1.211 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.3466, allocations: 4.375 kB / 1.211 GB, free: 5.898 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.3468, allocations: 85.7 kB / 1.211 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.3468, allocations: 4 kB / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.3468, allocations: 0 / 1.211 GB, free: 5.805 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3468, allocations: 3.984 kB / 1.211 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001963/0.347, allocations: 47.97 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005395/0.3476, allocations: 324.6 kB / 1.212 GB, free: 5.387 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.3478, allocations: 70.55 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3479, allocations: 44.83 kB / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.348, allocations: 0 / 1.212 GB, free: 5.262 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.3482, allocations: 95.39 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.3482, allocations: 4 kB / 1.212 GB, free: 5.152 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0004932/0.3487, allocations: 165.7 kB / 1.212 GB, free: 4.984 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.3488, allocations: 59.5 kB / 1.212 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001136/0.3489, allocations: 140.2 kB / 1.212 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.168e-05/0.3489, allocations: 33.7 kB / 1.212 GB, free: 4.727 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.964e-05/0.349, allocations: 92.27 kB / 1.212 GB, free: 4.629 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.668e-05/0.349, allocations: 27.89 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.3491, allocations: 33.7 kB / 1.212 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3492, allocations: 322.8 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001063/0.3493, allocations: 31.97 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.3494, allocations: 73.12 kB / 1.213 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.3497, allocations: 101.1 kB / 1.213 GB, free: 4 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3497, allocations: 4 kB / 1.213 GB, free: 3.996 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002986/0.35, allocations: 137.3 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.35, allocations: 5.875 kB / 1.213 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-06/0.35, allocations: 7.938 kB / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.247e-05/0.35, allocations: 0 / 1.213 GB, free: 3.844 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.3502, allocations: 19.97 kB / 1.213 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3502, allocations: 4 kB / 1.213 GB, free: 3.82 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/0.3503, allocations: 20.11 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.313e-05/0.3503, allocations: 4 kB / 1.213 GB, free: 3.797 MB / 0.9669 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.734e-05/0.3504, allocations: 123.3 kB / 1.213 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.044e-05/0.3504, allocations: 11.91 kB / 1.213 GB, free: 3.656 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.469e-05/0.3505, allocations: 12.72 kB / 1.213 GB, free: 3.641 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.3505, allocations: 7.922 kB / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3505, allocations: 0 / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/0.3505, allocations: 0 / 1.213 GB, free: 3.633 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005821/0.3511, allocations: 430.2 kB / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.3511, allocations: 0 / 1.214 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.104e-05/0.3512, allocations: 11.98 kB / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.3512, allocations: 0 / 1.214 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.3512, allocations: 4.078 kB / 1.214 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3512, allocations: 3.938 kB / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3512, allocations: 0 / 1.214 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.3515, allocations: 239.4 kB / 1.214 GB, free: 2.887 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.123e-05/0.3516, allocations: 85.02 kB / 1.214 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3516, allocations: 3.984 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.3518, allocations: 19.92 kB / 1.214 GB, free: 2.762 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.241e-05/0.3518, allocations: 11.92 kB / 1.214 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.3518, allocations: 8 kB / 1.214 GB, free: 2.742 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.702e-05/0.3519, allocations: 101.5 kB / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3519, allocations: 0 / 1.214 GB, free: 2.645 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002986/0.3522, allocations: 43.98 kB / 1.214 GB, free: 2.602 MB / 0.9669 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.0003633/0.3526, allocations: 155.7 kB / 1.214 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.3529, allocations: 87.89 kB / 1.214 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.3529, allocations: 0 / 1.214 GB, free: 2.371 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001357/0.353, allocations: 51.91 kB / 1.214 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.3533, allocations: 16.2 kB / 1.214 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005099/0.3538, allocations: 227.7 kB / 1.215 GB, free: 2.055 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002922/0.3542, allocations: 0.6929 MB / 1.215 GB, free: 1.336 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.552e-05/0.3542, allocations: 4.672 kB / 1.215 GB, free: 1.332 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.3543, allocations: 23.42 kB / 1.215 GB, free: 1.309 MB / 0.9669 GB Notification: Performance of SimCode: time 2.41e-07/0.3543, allocations: 3.938 kB / 1.215 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of Templates: time 0.00455/0.3588, allocations: 1.856 MB / 1.217 GB, free: 15.45 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches