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.001504/0.001504, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.387 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.516/2.516, allocations: 437 MB / 0.7103 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 71.88 kB / 0.8692 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7719, allocations: 151.6 MB / 1.017 GB, free: 2.496 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003052/0.775, allocations: 1.524 MB / 1.019 GB, free: 0.9609 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001583/0.7766, allocations: 0.7634 MB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.7767, allocations: 0 / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.707e-05/0.7768, allocations: 7.922 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001109/0.7769, allocations: 15.81 kB / 1.02 GB, free: 172 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006571/0.7776, allocations: 127.6 kB / 1.02 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001585/0.7777, allocations: 87.75 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.7778, allocations: 12 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.778, allocations: 43.78 kB / 1.02 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.657e-05/0.778, allocations: 39.83 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.326e-05/0.7781, allocations: 8 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000198/0.7783, allocations: 99.84 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.7783, allocations: 23.91 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.68e-05/0.7784, allocations: 35.8 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002567/0.7787, allocations: 153.6 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.7787, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.492e-06/0.7787, allocations: 0 / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.7787, allocations: 0 / 1.02 GB, free: 15.55 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.0007615/0.7795, allocations: 474.5 kB / 1.021 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.7795, allocations: 12.03 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.856e-05/0.7796, allocations: 8.844 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.7797, allocations: 186.5 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/0.7798, allocations: 46.25 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.7798, allocations: 4.375 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.78, allocations: 77.77 kB / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.78, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.7801, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7801, allocations: 0 / 1.021 GB, free: 14.65 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001977/0.7803, allocations: 59.88 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005178/0.7808, allocations: 312.8 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002121/0.781, allocations: 78.47 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001129/0.7811, allocations: 36.84 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.17e-05/0.7812, allocations: 4 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000271/0.7815, allocations: 103.3 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.542e-06/0.7815, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.000492/0.782, allocations: 169.5 kB / 1.022 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.876e-05/0.782, allocations: 55.41 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.7821, allocations: 138 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.7822, allocations: 29.7 kB / 1.022 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.7822, allocations: 96.52 kB / 1.022 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.7823, allocations: 19.7 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.7823, allocations: 33.7 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.7824, allocations: 326.8 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.7826, allocations: 31.98 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001399/0.7827, allocations: 73.06 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002374/0.783, allocations: 105.1 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.783, allocations: 3.984 kB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003202/0.7833, allocations: 129.4 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.7833, allocations: 8.125 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.7833, allocations: 4 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.7833, allocations: 4 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.7835, allocations: 15.92 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.7835, allocations: 4 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001099/0.7836, allocations: 19.92 kB / 1.023 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/0.7836, allocations: 4 kB / 1.023 GB, free: 12.65 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 8.895e-05/0.7837, allocations: 127.3 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.015e-05/0.7837, allocations: 11.91 kB / 1.023 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.323e-05/0.7838, allocations: 12.72 kB / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.7838, allocations: 0 / 1.023 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.7838, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.7838, allocations: 4 kB / 1.023 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005714/0.7844, allocations: 430.6 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.7844, allocations: 4.094 kB / 1.023 GB, free: 12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.39e-05/0.7845, allocations: 15.92 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.7845, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.272e-05/0.7845, allocations: 0 / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.7845, allocations: 11.88 kB / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.7845, allocations: 0 / 1.023 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.7849, allocations: 235.4 kB / 1.023 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.832e-05/0.7849, allocations: 81.02 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.504e-05/0.7849, allocations: 4 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001316/0.7851, allocations: 15.92 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.7851, allocations: 7.984 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.7851, allocations: 7.984 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.441e-05/0.7852, allocations: 104.6 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7852, allocations: 0 / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002956/0.7855, allocations: 40 kB / 1.024 GB, free: 11.45 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.0003403/0.7859, allocations: 157.6 kB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.7862, allocations: 99.75 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.7862, allocations: 4.25 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001304/0.7863, allocations: 51.91 kB / 1.024 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002751/0.7866, allocations: 15.98 kB / 1.024 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004508/0.7871, allocations: 195.8 kB / 1.024 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.7873, allocations: 0.6924 MB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.358e-05/0.7874, allocations: 12.66 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.639e-05/0.7874, allocations: 15.44 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of SimCode: time 2.31e-07/0.7875, allocations: 3.938 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of Templates: time 0.004538/0.792, allocations: 1.814 MB / 1.027 GB, free: 8.363 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=480 -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