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.007693/0.007693, allocations: 103.1 kB / 15.73 MB, free: 6.043 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.001696/0.001696, allocations: 189.6 kB / 16.67 MB, free: 5.961 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.45/1.45, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.356/2.356, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 67.89 kB / 0.9508 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.037/1.038, allocations: 140.4 MB / 1.088 GB, free: 5.547 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00304/1.041, allocations: 1.523 MB / 1.089 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001329/1.043, allocations: 0.7499 MB / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.66e-05/1.043, allocations: 0 / 1.09 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/1.043, allocations: 4.828 kB / 1.09 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.69e-05/1.043, allocations: 20.05 kB / 1.09 GB, free: 3.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005597/1.044, allocations: 125.9 kB / 1.09 GB, free: 3.898 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001321/1.044, allocations: 85.36 kB / 1.09 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.191e-05/1.044, allocations: 12.22 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.914e-05/1.044, allocations: 40.19 kB / 1.09 GB, free: 3.836 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.555e-05/1.044, allocations: 38.2 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.053e-05/1.044, allocations: 6.562 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002097/1.044, allocations: 99.06 kB / 1.091 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.589e-05/1.044, allocations: 23.05 kB / 1.091 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.142e-05/1.044, allocations: 33.55 kB / 1.091 GB, free: 3.754 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002973/1.045, allocations: 154.9 kB / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/1.045, allocations: 0 / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.064e-06/1.045, allocations: 0 / 1.091 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.045, allocations: 0 / 1.091 GB, free: 3.699 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.000651/1.045, allocations: 454.7 kB / 1.091 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/1.045, allocations: 14.25 kB / 1.091 GB, free: 3.25 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.403e-05/1.045, allocations: 9.547 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.723e-05/1.046, allocations: 181.1 kB / 1.091 GB, free: 3.039 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/1.046, allocations: 6.875 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.748e-05/1.046, allocations: 5.688 kB / 1.091 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/1.046, allocations: 79.7 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/1.046, allocations: 0 / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.046, allocations: 1.375 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/1.046, allocations: 0.75 kB / 1.091 GB, free: 2.984 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001474/1.046, allocations: 46.66 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005003/1.046, allocations: 322.7 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/1.047, allocations: 62.98 kB / 1.092 GB, free: 2.629 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.908e-05/1.047, allocations: 36.95 kB / 1.092 GB, free: 2.609 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/1.047, allocations: 13.36 kB / 1.092 GB, free: 2.598 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/1.047, allocations: 93.12 kB / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/1.047, allocations: 0 / 1.092 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0004434/1.048, allocations: 157 kB / 1.092 GB, free: 2.465 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/1.048, allocations: 54.39 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.555e-05/1.048, allocations: 127.6 kB / 1.092 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.194e-05/1.048, allocations: 30.61 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.187e-05/1.048, allocations: 96.62 kB / 1.092 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.591e-05/1.048, allocations: 25.72 kB / 1.092 GB, free: 2.141 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.613e-05/1.048, allocations: 31.78 kB / 1.092 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.632e-05/1.048, allocations: 324.3 kB / 1.093 GB, free: 1.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.821e-05/1.048, allocations: 27 kB / 1.093 GB, free: 1.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.947e-05/1.048, allocations: 68.22 kB / 1.093 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001612/1.048, allocations: 99.38 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.048, allocations: 0 / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002359/1.048, allocations: 142.5 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/1.049, allocations: 5.375 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/1.049, allocations: 2.734 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/1.049, allocations: 2.375 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001293/1.049, allocations: 13.73 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/1.049, allocations: 2.578 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/1.049, allocations: 10.17 kB / 1.093 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.612e-05/1.049, allocations: 9.312 kB / 1.093 GB, free: 1.574 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 8.177e-05/1.049, allocations: 127.7 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/1.049, allocations: 8.812 kB / 1.093 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003483/1.049, allocations: 153.8 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/1.049, allocations: 1.812 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.049, allocations: 1.312 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/1.049, allocations: 1.406 kB / 1.093 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/1.05, allocations: 427.3 kB / 1.094 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.05, allocations: 4.938 kB / 1.094 GB, free: 1.004 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.764e-05/1.05, allocations: 13.67 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/1.05, allocations: 0.8438 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/1.05, allocations: 3.5 kB / 1.094 GB, free: 1 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.05, allocations: 4.844 kB / 1.094 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.05, allocations: 3.938 kB / 1.094 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/1.05, allocations: 223.7 kB / 1.094 GB, free: 0.832 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.668e-05/1.05, allocations: 83.56 kB / 1.094 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/1.05, allocations: 6.094 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001162/1.05, allocations: 7.984 kB / 1.094 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.504e-05/1.051, allocations: 18.31 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/1.051, allocations: 4.797 kB / 1.094 GB, free: 0.7227 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.199e-05/1.051, allocations: 95.19 kB / 1.094 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.051, allocations: 4 kB / 1.094 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003766/1.051, allocations: 45.5 kB / 1.094 GB, free: 0.6289 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.0003764/1.051, allocations: 180.8 kB / 1.095 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003123/1.052, allocations: 85.5 kB / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.052, allocations: 0 / 1.095 GB, free: 496 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/1.052, allocations: 50.14 kB / 1.095 GB, free: 480 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003269/1.052, allocations: 21.89 kB / 1.095 GB, free: 468 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005292/1.053, allocations: 210.9 kB / 1.095 GB, free: 304 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002729/1.053, allocations: 0.698 MB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.29e-05/1.053, allocations: 8.047 kB / 1.096 GB, free: 15.6 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.604e-05/1.053, allocations: 15.03 kB / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of SimCode: time 3.8e-07/1.053, allocations: 0 / 1.096 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.006745/1.06, allocations: 1.845 MB / 1.097 GB, free: 15.4 MB / 0.8731 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