Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007186/0.007186, allocations: 106.7 kB / 15.74 MB, free: 6.039 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.001782/0.001782, allocations: 195.2 kB / 16.67 MB, free: 5.973 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.377/1.377, 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 9.1.3-maint.9.1.x/package.mo): time 2.346/2.346, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 62.22 kB / 0.9508 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3651/0.3664, allocations: 140.4 MB / 1.088 GB, free: 1.551 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.002851/0.3693, allocations: 1.505 MB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3708, allocations: 0.7686 MB / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.145e-05/0.3709, allocations: 0 / 1.09 GB, free: 15.26 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.041e-05/0.371, allocations: 11.88 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.3711, allocations: 7.875 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006973/0.3718, allocations: 123.6 kB / 1.09 GB, free: 15.12 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001454/0.372, allocations: 87.69 kB / 1.09 GB, free: 15.03 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3721, allocations: 19.98 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001148/0.3722, allocations: 39.84 kB / 1.09 GB, free: 14.97 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.3723, allocations: 43.83 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.3723, allocations: 4 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002283/0.3725, allocations: 95.84 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.276e-05/0.3726, allocations: 23.91 kB / 1.091 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.166e-05/0.3727, allocations: 31.86 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002981/0.373, allocations: 151.5 kB / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.373, allocations: 0 / 1.091 GB, free: 14.63 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.984e-06/0.373, allocations: 4 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.373, allocations: 0 / 1.091 GB, free: 14.62 MB / 0.8575 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.0008262/0.3738, allocations: 462.6 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.786e-05/0.3739, allocations: 8.031 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.768e-05/0.3739, allocations: 12.78 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001705/0.3741, allocations: 168.3 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.412e-05/0.3741, allocations: 8.375 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.3742, allocations: 8.359 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3744, allocations: 77.97 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3744, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.404e-05/0.3744, allocations: 0 / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.348e-06/0.3744, allocations: 3.984 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001385/0.3746, allocations: 47.91 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006064/0.3752, allocations: 320.6 kB / 1.092 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3754, allocations: 66.64 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.3755, allocations: 36.78 kB / 1.092 GB, free: 13.27 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.3755, allocations: 4 kB / 1.092 GB, free: 13.26 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00025/0.3758, allocations: 95.44 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.3758, allocations: 0 / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004228/0.3762, allocations: 157.5 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/0.3763, allocations: 59.39 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001171/0.3764, allocations: 121.8 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.3764, allocations: 37.69 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.671e-05/0.3765, allocations: 88.28 kB / 1.092 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.3765, allocations: 15.81 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.427e-05/0.3766, allocations: 33.7 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3767, allocations: 326.8 kB / 1.093 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.524e-05/0.3768, allocations: 35.92 kB / 1.093 GB, free: 12.24 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.576e-05/0.3769, allocations: 69.06 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.3771, allocations: 101.1 kB / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3771, allocations: 0 / 1.093 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002411/0.3774, allocations: 133.3 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.3774, allocations: 9.562 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-06/0.3774, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.3774, allocations: 8.125 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.3775, allocations: 15.92 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.659e-05/0.3776, allocations: 7.984 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001009/0.3777, allocations: 11.94 kB / 1.093 GB, free: 11.85 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.951e-05/0.3777, allocations: 11.98 kB / 1.093 GB, free: 11.84 MB / 0.8575 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.62e-05/0.3778, allocations: 117.8 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.068e-05/0.3778, allocations: 7.906 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003268/0.3782, allocations: 149.9 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.3782, allocations: 4 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3782, allocations: 0 / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3782, allocations: 3.938 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005743/0.3788, allocations: 430.7 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.3788, allocations: 3.984 kB / 1.094 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.703e-05/0.3789, allocations: 8 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3789, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.3789, allocations: 12.02 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.3789, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.3789, allocations: 3.938 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.3792, allocations: 231.3 kB / 1.094 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 6.696e-05/0.3793, allocations: 88.95 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.3793, allocations: 3.984 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.3794, allocations: 8 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.558e-05/0.3795, allocations: 19.92 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.823e-05/0.3796, allocations: 3.984 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.678e-05/0.3796, allocations: 102.5 kB / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3796, allocations: 0 / 1.094 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003347/0.38, allocations: 40 kB / 1.094 GB, free: 10.52 MB / 0.8575 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 (12): * Single equations (assignments): 9 * 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.0003714/0.3804, allocations: 160.2 kB / 1.095 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.3806, allocations: 91.83 kB / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3806, allocations: 0 / 1.095 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3808, allocations: 47.91 kB / 1.095 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003034/0.3811, allocations: 18.03 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005066/0.3816, allocations: 215.8 kB / 1.095 GB, free: 9.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.3819, allocations: 0.6967 MB / 1.096 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.93e-05/0.382, allocations: 8.438 kB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.062e-05/0.382, allocations: 15.42 kB / 1.096 GB, free: 9.234 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/0.382, allocations: 4 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of Templates: time 0.0052/0.3872, allocations: 1.791 MB / 1.097 GB, free: 7.445 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches