Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.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.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0074/0.0074, allocations: 100.3 kB / 15.73 MB, free: 6.012 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.001713/0.001713, allocations: 190 kB / 16.67 MB, free: 5.934 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.397/2.397, allocations: 390.2 MB / 0.6648 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 67.89 kB / 0.9508 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.01, allocations: 140.4 MB / 1.088 GB, free: 5.82 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002591/1.013, allocations: 1.556 MB / 1.089 GB, free: 4.734 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001325/1.014, allocations: 0.7518 MB / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.454e-05/1.014, allocations: 0 / 1.09 GB, free: 4.227 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.606e-05/1.014, allocations: 10.75 kB / 1.09 GB, free: 4.219 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/1.015, allocations: 27.83 kB / 1.09 GB, free: 4.195 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006227/1.015, allocations: 129.6 kB / 1.09 GB, free: 4.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001594/1.015, allocations: 100.5 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/1.015, allocations: 12.52 kB / 1.09 GB, free: 4.082 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001152/1.016, allocations: 51.88 kB / 1.09 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.46e-05/1.016, allocations: 41.64 kB / 1.091 GB, free: 4.039 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/1.016, allocations: 12.16 kB / 1.091 GB, free: 4.035 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002119/1.016, allocations: 96.02 kB / 1.091 GB, free: 4.008 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/1.016, allocations: 21.34 kB / 1.091 GB, free: 3.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.439e-05/1.016, allocations: 46.94 kB / 1.091 GB, free: 3.965 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002996/1.016, allocations: 163.5 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/1.016, allocations: 2.047 kB / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.372e-06/1.016, allocations: 0 / 1.091 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.19e-06/1.016, allocations: 0 / 1.091 GB, free: 3.906 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007651/1.017, allocations: 0.5096 MB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/1.017, allocations: 9.344 kB / 1.091 GB, free: 3.398 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.277e-05/1.017, allocations: 11.16 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001105/1.017, allocations: 184.9 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.943e-05/1.017, allocations: 3.625 kB / 1.092 GB, free: 3.184 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/1.017, allocations: 8.375 kB / 1.092 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002279/1.018, allocations: 84.36 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/1.018, allocations: 0.875 kB / 1.092 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/1.018, allocations: 5.625 kB / 1.092 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.018, allocations: 4.781 kB / 1.092 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/1.018, allocations: 51.45 kB / 1.092 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/1.018, allocations: 332.4 kB / 1.092 GB, free: 2.805 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002231/1.019, allocations: 78.77 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.727e-05/1.019, allocations: 43.33 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/1.019, allocations: 1.469 kB / 1.092 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002045/1.019, allocations: 104.5 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.452e-06/1.019, allocations: 0 / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004897/1.02, allocations: 173 kB / 1.092 GB, free: 2.594 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/1.02, allocations: 57.77 kB / 1.092 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/1.02, allocations: 147.4 kB / 1.093 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.259e-05/1.02, allocations: 26.67 kB / 1.093 GB, free: 2.379 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.874e-05/1.02, allocations: 106.8 kB / 1.093 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/1.02, allocations: 25.39 kB / 1.093 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/1.02, allocations: 32.77 kB / 1.093 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 6.517e-05/1.02, allocations: 325.2 kB / 1.093 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/1.02, allocations: 29.45 kB / 1.093 GB, free: 1.906 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.85e-05/1.02, allocations: 79.45 kB / 1.093 GB, free: 1.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001681/1.02, allocations: 103.5 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.02, allocations: 0.7812 kB / 1.093 GB, free: 1.762 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002622/1.021, allocations: 139.5 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/1.021, allocations: 5.062 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/1.021, allocations: 2.672 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.021, allocations: 1.5 kB / 1.093 GB, free: 1.691 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/1.021, allocations: 20.92 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.138e-06/1.021, allocations: 2.891 kB / 1.093 GB, free: 1.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/1.021, allocations: 25.52 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.467e-05/1.021, allocations: 5.141 kB / 1.093 GB, free: 1.672 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,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 7.631e-05/1.021, allocations: 132.5 kB / 1.094 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.484e-05/1.021, allocations: 13.08 kB / 1.094 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003745/1.021, allocations: 171.9 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/1.021, allocations: 1.812 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/1.021, allocations: 0.9062 kB / 1.094 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/1.021, allocations: 5.219 kB / 1.094 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005771/1.022, allocations: 458 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/1.022, allocations: 0 / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.685e-05/1.022, allocations: 13.88 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/1.022, allocations: 0.7188 kB / 1.094 GB, free: 1.086 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/1.022, allocations: 6.656 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.022, allocations: 1.672 kB / 1.094 GB, free: 1.082 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/1.022, allocations: 4.844 kB / 1.094 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003309/1.023, allocations: 248.1 kB / 1.094 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.354e-05/1.023, allocations: 96.98 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.654e-05/1.023, allocations: 1.516 kB / 1.095 GB, free: 0.7969 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/1.023, allocations: 12.28 kB / 1.095 GB, free: 0.793 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.144e-05/1.023, allocations: 14.25 kB / 1.095 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/1.023, allocations: 9.266 kB / 1.095 GB, free: 0.7852 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.894e-05/1.023, allocations: 111.2 kB / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.21e-07/1.023, allocations: 0 / 1.095 GB, free: 0.6992 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003645/1.023, allocations: 44.28 kB / 1.095 GB, free: 0.6914 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 (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 (14): * Single equations (assignments): 11 * 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.0003696/1.024, allocations: 164.2 kB / 1.095 GB, free: 0.582 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0003179/1.024, allocations: 99.78 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/1.024, allocations: 1.156 kB / 1.095 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001557/1.024, allocations: 54.05 kB / 1.095 GB, free: 0.5391 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003465/1.025, allocations: 16.67 kB / 1.095 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000574/1.025, allocations: 237.5 kB / 1.095 GB, free: 368 kB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003328/1.025, allocations: 0.7045 MB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 6.973e-05/1.026, allocations: 13.28 kB / 1.096 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.829e-05/1.026, allocations: 15.45 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/1.026, allocations: 0 / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of Templates: time 0.007129/1.033, allocations: 2.013 MB / 1.098 GB, free: 15.46 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches