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.001794/0.001794, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002467/0.002467, allocations: 193.8 kB / 16.14 MB, free: 6.676 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.589/1.589, allocations: 222.9 MB / 239.8 MB, free: 4.633 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.886/2.886, allocations: 437 MB / 0.71 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002022, allocations: 59.89 kB / 0.8686 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.6885, allocations: 151.6 MB / 1.017 GB, free: 2.816 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003282/0.6919, allocations: 1.587 MB / 1.018 GB, free: 1.223 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001636/0.6935, allocations: 0.7635 MB / 1.019 GB, free: 464 kB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.931e-05/0.6936, allocations: 4 kB / 1.019 GB, free: 460 kB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.802e-05/0.6937, allocations: 7.922 kB / 1.019 GB, free: 452 kB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001059/0.6938, allocations: 11.88 kB / 1.019 GB, free: 440 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005497/0.6944, allocations: 107.8 kB / 1.019 GB, free: 332 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001345/0.6945, allocations: 79.77 kB / 1.019 GB, free: 252 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.6946, allocations: 8 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.6947, allocations: 43.77 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.6949, allocations: 39.84 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.6949, allocations: 4 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000207/0.6951, allocations: 91.91 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.518e-05/0.6951, allocations: 19.89 kB / 1.019 GB, free: 44 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.6952, allocations: 35.8 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/0.6955, allocations: 149.6 kB / 1.019 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.6955, allocations: 4 kB / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.092e-06/0.6955, allocations: 0 / 1.02 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.6956, allocations: 0 / 1.02 GB, free: 15.86 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.0009843/0.6965, allocations: 474.5 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.121e-05/0.6966, allocations: 8.031 kB / 1.02 GB, free: 15.33 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.053e-05/0.6967, allocations: 20.78 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001917/0.6969, allocations: 176.2 kB / 1.02 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.154e-05/0.697, allocations: 30.27 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.697, allocations: 8.375 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002433/0.6972, allocations: 85.7 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.6973, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.807e-05/0.6973, allocations: 4 kB / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.6973, allocations: 0 / 1.02 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.6975, allocations: 47.95 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006178/0.6981, allocations: 328.7 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.6984, allocations: 70.48 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001154/0.6985, allocations: 36.84 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.6985, allocations: 3.984 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.6988, allocations: 99.36 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.6988, allocations: 3.938 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=10): time 0.000544/0.6994, allocations: 161.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.952e-05/0.6995, allocations: 63.34 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.6996, allocations: 135.6 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.6997, allocations: 25.7 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 9.065e-05/0.6998, allocations: 96.38 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.509e-05/0.6998, allocations: 23.86 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.218e-05/0.6999, allocations: 33.7 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.7, allocations: 323.1 kB / 1.022 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001231/0.7002, allocations: 31.98 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001659/0.7003, allocations: 73.12 kB / 1.022 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002449/0.7006, allocations: 101 kB / 1.022 GB, free: 13.17 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7006, allocations: 11.94 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003212/0.7009, allocations: 133.4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.701, allocations: 4 kB / 1.022 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/0.701, allocations: 4.094 kB / 1.022 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.701, allocations: 7.922 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.7011, allocations: 15.98 kB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.7011, allocations: 4.125 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.7013, allocations: 23.83 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/0.7013, allocations: 4 kB / 1.022 GB, free: 12.96 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.0001197/0.7014, allocations: 129.7 kB / 1.022 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.101e-05/0.7014, allocations: 7.906 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.7015, allocations: 12.72 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.7015, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7015, allocations: 0 / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.7015, allocations: 4 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006646/0.7022, allocations: 426.3 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.7022, allocations: 0 / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.846e-05/0.7023, allocations: 11.98 kB / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.7023, allocations: 0 / 1.023 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.7023, allocations: 4 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.7023, allocations: 11.88 kB / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.7023, allocations: 0 / 1.023 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.7027, allocations: 227.3 kB / 1.023 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.7028, allocations: 85.02 kB / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.7028, allocations: 0 / 1.023 GB, free: 11.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.7029, allocations: 15.92 kB / 1.023 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.703, allocations: 19.92 kB / 1.023 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-05/0.703, allocations: 7.984 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.449e-05/0.7031, allocations: 103.4 kB / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7031, allocations: 0 / 1.023 GB, free: 11.81 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003138/0.7034, allocations: 43.94 kB / 1.023 GB, free: 11.77 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.0004006/0.7038, allocations: 169.2 kB / 1.023 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003154/0.7042, allocations: 87.89 kB / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.7042, allocations: 0 / 1.023 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001701/0.7043, allocations: 47.91 kB / 1.023 GB, free: 11.48 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002951/0.7046, allocations: 16.23 kB / 1.023 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005337/0.7052, allocations: 225.3 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.7055, allocations: 0.7006 MB / 1.024 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.828e-05/0.7056, allocations: 8.656 kB / 1.024 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.7056, allocations: 15.61 kB / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 2.1e-07/0.7057, allocations: 0 / 1.024 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.005144/0.7108, allocations: 1.658 MB / 1.026 GB, free: 8.816 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