Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.Gunay2016Light,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.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,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.Gunay2016Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007238/0.007238, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.001067/0.001067, allocations: 196.8 kB / 16.68 MB, free: 5.977 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.656/2.656, allocations: 437 MB / 0.7105 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.384/0.3852, allocations: 151.6 MB / 1.167 GB, free: 6.816 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002817/0.388, allocations: 1.517 MB / 1.168 GB, free: 5.281 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3894, allocations: 0.7518 MB / 1.169 GB, free: 4.523 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.3895, allocations: 7.938 kB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.265e-05/0.3896, allocations: 11.92 kB / 1.169 GB, free: 4.504 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001027/0.3897, allocations: 15.8 kB / 1.169 GB, free: 4.488 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005874/0.3903, allocations: 131.6 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.3904, allocations: 95.7 kB / 1.169 GB, free: 4.266 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.3905, allocations: 12 kB / 1.169 GB, free: 4.254 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3907, allocations: 47.77 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.996e-05/0.3908, allocations: 47.83 kB / 1.169 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.3908, allocations: 8 kB / 1.169 GB, free: 4.152 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002092/0.391, allocations: 99.84 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.418e-05/0.391, allocations: 23.91 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.148e-05/0.3911, allocations: 43.78 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.3914, allocations: 155.5 kB / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3914, allocations: 0 / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.212e-06/0.3914, allocations: 0 / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.112e-05/0.3914, allocations: 0 / 1.169 GB, free: 3.836 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008196/0.3922, allocations: 0.4922 MB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.273e-05/0.3923, allocations: 8.031 kB / 1.17 GB, free: 3.27 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.477e-05/0.3923, allocations: 8.891 kB / 1.17 GB, free: 3.262 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00016/0.3925, allocations: 200 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.875e-05/0.3925, allocations: 4.375 kB / 1.17 GB, free: 3.023 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.11e-05/0.3926, allocations: 4.375 kB / 1.17 GB, free: 3.02 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.3928, allocations: 81.95 kB / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3928, allocations: 0 / 1.17 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.712e-05/0.3928, allocations: 8 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.3928, allocations: 4 kB / 1.17 GB, free: 2.922 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.393, allocations: 51.89 kB / 1.17 GB, free: 2.871 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/0.3936, allocations: 332.7 kB / 1.171 GB, free: 2.496 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002394/0.3939, allocations: 82.67 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001103/0.394, allocations: 44.84 kB / 1.171 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.394, allocations: 8.016 kB / 1.171 GB, free: 2.352 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002508/0.3943, allocations: 103.3 kB / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.412e-06/0.3943, allocations: 0 / 1.171 GB, free: 2.238 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004702/0.3948, allocations: 177.5 kB / 1.171 GB, free: 2.059 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.3948, allocations: 55.41 kB / 1.171 GB, free: 1.992 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.395, allocations: 131.8 kB / 1.171 GB, free: 1.852 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.395, allocations: 29.7 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.3951, allocations: 100 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.813e-05/0.3951, allocations: 23.8 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-05/0.3952, allocations: 37.7 kB / 1.171 GB, free: 1.648 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3953, allocations: 326.8 kB / 1.172 GB, free: 1.32 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.66e-05/0.3954, allocations: 31.98 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001161/0.3955, allocations: 65.12 kB / 1.172 GB, free: 1.207 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.3957, allocations: 109.1 kB / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.3957, allocations: 0 / 1.172 GB, free: 1.082 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002748/0.396, allocations: 137.5 kB / 1.172 GB, free: 0.9414 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.396, allocations: 8 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.396, allocations: 0 / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.3961, allocations: 7.984 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/0.3962, allocations: 19.94 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.839e-06/0.3962, allocations: 3.984 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.807e-05/0.3963, allocations: 12.09 kB / 1.172 GB, free: 0.8906 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.3963, allocations: 4 kB / 1.172 GB, free: 0.8867 MB / 0.92 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001442/0.3965, allocations: 137.6 kB / 1.172 GB, free: 0.7422 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/0.3965, allocations: 7.953 kB / 1.172 GB, free: 0.7344 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003751/0.3969, allocations: 161.8 kB / 1.172 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.3969, allocations: 4 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3969, allocations: 4 kB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3969, allocations: 0 / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006385/0.3976, allocations: 454.2 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3976, allocations: 0 / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.3977, allocations: 15.98 kB / 1.173 GB, free: 52 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3977, allocations: 4 kB / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.347e-05/0.3977, allocations: 0 / 1.173 GB, free: 48 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3977, allocations: 3.938 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3977, allocations: 0 / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.3981, allocations: 251.3 kB / 1.173 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.583e-05/0.3982, allocations: 85.06 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.3982, allocations: 3.938 kB / 1.173 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.3983, allocations: 15.98 kB / 1.173 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.652e-05/0.3984, allocations: 7.984 kB / 1.173 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.429e-05/0.3984, allocations: 7.984 kB / 1.173 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.805e-05/0.3985, allocations: 109.6 kB / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3985, allocations: 0 / 1.173 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000349/0.3989, allocations: 39.94 kB / 1.173 GB, free: 15.5 MB / 0.9356 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0004446/0.3993, allocations: 171.2 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002848/0.3996, allocations: 95.83 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3996, allocations: 3.938 kB / 1.174 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.3998, allocations: 51.97 kB / 1.174 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003395/0.4001, allocations: 15.98 kB / 1.174 GB, free: 15.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005202/0.4006, allocations: 231.1 kB / 1.174 GB, free: 14.92 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003107/0.401, allocations: 0.7003 MB / 1.175 GB, free: 14.2 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.081e-05/0.401, allocations: 8.438 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.427e-05/0.4011, allocations: 15.42 kB / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of SimCode: time 1.894e-06/0.4011, allocations: 0 / 1.175 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of Templates: time 0.005439/0.4065, allocations: 1.962 MB / 1.176 GB, free: 12.22 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches