Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001408/0.001408, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001581/0.001582, allocations: 193.4 kB / 16.25 MB, free: 6.621 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.507/1.507, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.862/2.862, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001914, allocations: 64.08 kB / 0.8687 GB, free: 5.055 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6662, allocations: 151.6 MB / 1.017 GB, free: 2.723 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003063/0.6693, allocations: 1.587 MB / 1.018 GB, free: 1.129 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001426/0.6708, allocations: 0.7596 MB / 1.019 GB, free: 372 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.6708, allocations: 3.938 kB / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.205e-05/0.6709, allocations: 0 / 1.019 GB, free: 368 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.112e-05/0.671, allocations: 11.88 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005813/0.6716, allocations: 115.8 kB / 1.019 GB, free: 240 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001304/0.6718, allocations: 83.78 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001211/0.6719, allocations: 15.97 kB / 1.019 GB, free: 140 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.672, allocations: 39.8 kB / 1.019 GB, free: 100 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/0.6721, allocations: 39.83 kB / 1.019 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.6721, allocations: 8 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002214/0.6724, allocations: 95.91 kB / 1.019 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.931e-05/0.6724, allocations: 23.91 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.327e-05/0.6725, allocations: 43.8 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000285/0.6728, allocations: 149.6 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.6728, allocations: 4 kB / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.503e-06/0.6728, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.6728, allocations: 0 / 1.02 GB, free: 15.74 MB / 0.7794 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.0009393/0.6738, allocations: 470.5 kB / 1.02 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.6738, allocations: 8.031 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.744e-05/0.6739, allocations: 16.83 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.6741, allocations: 180.1 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.328e-05/0.6742, allocations: 38.25 kB / 1.02 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.875e-05/0.6742, allocations: 8.312 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/0.6744, allocations: 81.7 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.6745, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.6745, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.6745, allocations: 4 kB / 1.02 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002203/0.6747, allocations: 51.91 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000632/0.6753, allocations: 324.7 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.6756, allocations: 70.53 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.6757, allocations: 40.83 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.737e-05/0.6757, allocations: 4 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003257/0.6761, allocations: 99.38 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.6761, allocations: 0 / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.0005455/0.6766, allocations: 169.5 kB / 1.021 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.6767, allocations: 55.41 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.6769, allocations: 138 kB / 1.021 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.6769, allocations: 25.7 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.789e-05/0.677, allocations: 96.36 kB / 1.021 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-05/0.6771, allocations: 23.86 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-05/0.6771, allocations: 33.7 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001982/0.6773, allocations: 330.8 kB / 1.022 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.6775, allocations: 31.97 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001486/0.6776, allocations: 69.12 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.6779, allocations: 101.4 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.6779, allocations: 0 / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003034/0.6782, allocations: 141.5 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.6782, allocations: 7.938 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.6783, allocations: 7.938 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6783, allocations: 7.984 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.6784, allocations: 15.98 kB / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.6784, allocations: 0 / 1.022 GB, free: 12.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.6785, allocations: 15.92 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.541e-05/0.6786, allocations: 8 kB / 1.022 GB, free: 12.84 MB / 0.7794 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 0.0001486/0.6787, allocations: 129.8 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.6787, allocations: 7.906 kB / 1.022 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.789e-05/0.6788, allocations: 12.7 kB / 1.022 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.6788, allocations: 4 kB / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.6788, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.6788, allocations: 0 / 1.022 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006702/0.6795, allocations: 426.3 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.6795, allocations: 4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.457e-05/0.6796, allocations: 7.984 kB / 1.023 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.6796, allocations: 3.938 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.635e-05/0.6796, allocations: 7.984 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.6796, allocations: 3.938 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.6796, allocations: 3.938 kB / 1.023 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.68, allocations: 223.4 kB / 1.023 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.053e-05/0.6801, allocations: 85.11 kB / 1.023 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.715e-05/0.6801, allocations: 7.922 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.6802, allocations: 19.91 kB / 1.023 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.473e-05/0.6803, allocations: 11.98 kB / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.6803, allocations: 0 / 1.023 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.183e-05/0.6804, allocations: 108.9 kB / 1.023 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6804, allocations: 4 kB / 1.023 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003295/0.6807, allocations: 43.98 kB / 1.023 GB, free: 11.64 MB / 0.7794 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.0003878/0.6811, allocations: 160.3 kB / 1.023 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003345/0.6815, allocations: 95.88 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.6815, allocations: 0 / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.6816, allocations: 43.98 kB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/0.6819, allocations: 15.98 kB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005/0.6824, allocations: 231.8 kB / 1.024 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.6828, allocations: 0.6924 MB / 1.025 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 6.188e-05/0.6829, allocations: 16.66 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.6829, allocations: 11.44 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.6829, allocations: 0 / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.004778/0.6877, allocations: 1.726 MB / 1.026 GB, free: 8.625 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches