Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Reinhart2003Light,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.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_10_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.007811/0.007811, allocations: 96.89 kB / 15.73 MB, free: 6 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.001951/0.001951, allocations: 189 kB / 16.67 MB, free: 5.93 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 4.332 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.736/2.736, allocations: 437 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 63.89 kB / 1.019 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2984, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.00322/0.3016, allocations: 1.546 MB / 1.168 GB, free: 5.289 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001616/0.3033, allocations: 0.7673 MB / 1.169 GB, free: 4.516 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.603e-05/0.3034, allocations: 4 kB / 1.169 GB, free: 4.512 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.3034, allocations: 3.938 kB / 1.169 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001381/0.3036, allocations: 27.78 kB / 1.169 GB, free: 4.48 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007247/0.3043, allocations: 131.5 kB / 1.169 GB, free: 4.352 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0002088/0.3045, allocations: 95.7 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001304/0.3047, allocations: 11.98 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3049, allocations: 51.78 kB / 1.169 GB, free: 4.195 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.305, allocations: 47.77 kB / 1.169 GB, free: 4.148 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.305, allocations: 8 kB / 1.169 GB, free: 4.141 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.3053, allocations: 99.84 kB / 1.169 GB, free: 4.043 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.188e-05/0.3053, allocations: 27.89 kB / 1.169 GB, free: 4.016 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.028e-05/0.3054, allocations: 39.8 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0003348/0.3057, allocations: 159.4 kB / 1.17 GB, free: 3.82 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3058, allocations: 4 kB / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3058, allocations: 0 / 1.17 GB, free: 3.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.451e-05/0.3058, allocations: 3.984 kB / 1.17 GB, free: 3.812 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.0009151/0.3067, allocations: 0.4999 MB / 1.17 GB, free: 3.246 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.3068, allocations: 8.031 kB / 1.17 GB, free: 3.238 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.524e-05/0.3068, allocations: 12.84 kB / 1.17 GB, free: 3.227 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.307, allocations: 188.2 kB / 1.17 GB, free: 3.004 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.307, allocations: 4.375 kB / 1.17 GB, free: 3 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.3071, allocations: 8.375 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002142/0.3073, allocations: 85.89 kB / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3073, allocations: 0 / 1.17 GB, free: 2.902 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.987e-05/0.3073, allocations: 7.984 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.3073, allocations: 0 / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.3075, allocations: 55.89 kB / 1.17 GB, free: 2.84 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.3081, allocations: 336.6 kB / 1.171 GB, free: 2.461 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002306/0.3084, allocations: 82.7 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3085, allocations: 40.84 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.3085, allocations: 3.938 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002673/0.3088, allocations: 107.3 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.553e-06/0.3088, allocations: 0 / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004358/0.3092, allocations: 173.5 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.3093, allocations: 59.34 kB / 1.171 GB, free: 1.961 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3094, allocations: 147.8 kB / 1.171 GB, free: 1.809 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.3094, allocations: 25.7 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.3095, allocations: 96.14 kB / 1.171 GB, free: 1.68 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.3095, allocations: 27.8 kB / 1.171 GB, free: 1.652 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.568e-05/0.3096, allocations: 33.7 kB / 1.171 GB, free: 1.613 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 9.44e-05/0.3097, allocations: 330.8 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.844e-05/0.3098, allocations: 31.92 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.705e-05/0.3099, allocations: 69.12 kB / 1.172 GB, free: 1.164 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001745/0.3101, allocations: 101.1 kB / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3101, allocations: 0 / 1.172 GB, free: 1.047 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002486/0.3103, allocations: 137.5 kB / 1.172 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3104, allocations: 4 kB / 1.172 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.3104, allocations: 4 kB / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.3104, allocations: 0 / 1.172 GB, free: 0.8984 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.3105, allocations: 28.02 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.048e-05/0.3105, allocations: 4 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001036/0.3107, allocations: 19.94 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.3107, allocations: 4 kB / 1.172 GB, free: 0.8438 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.0001145/0.3108, allocations: 125.9 kB / 1.172 GB, free: 0.7109 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.3108, allocations: 15.94 kB / 1.172 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003642/0.3112, allocations: 166.3 kB / 1.172 GB, free: 0.5273 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3112, allocations: 8 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.3112, allocations: 0 / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3112, allocations: 3.984 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005951/0.3118, allocations: 466.2 kB / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.3119, allocations: 0 / 1.173 GB, free: 4 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.595e-05/0.312, allocations: 11.98 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.312, allocations: 4 kB / 1.173 GB, free: 15.99 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.312, allocations: 4 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.312, allocations: 7.938 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.312, allocations: 3.938 kB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003122/0.3123, allocations: 254.5 kB / 1.173 GB, free: 15.71 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.3124, allocations: 85.06 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.234e-05/0.3124, allocations: 7.984 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.3125, allocations: 11.94 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.3126, allocations: 15.92 kB / 1.173 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2e-05/0.3126, allocations: 11.98 kB / 1.173 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.761e-05/0.3127, allocations: 105.2 kB / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3127, allocations: 0 / 1.173 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003292/0.313, allocations: 51.81 kB / 1.173 GB, free: 15.41 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 (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.0003603/0.3134, allocations: 167.3 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.3137, allocations: 87.89 kB / 1.174 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3137, allocations: 4 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001255/0.3138, allocations: 55.91 kB / 1.174 GB, free: 15.11 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003204/0.3142, allocations: 31.86 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005085/0.3147, allocations: 234.9 kB / 1.174 GB, free: 14.82 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.315, allocations: 0.7002 MB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.589e-05/0.315, allocations: 12.81 kB / 1.175 GB, free: 14.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/0.3151, allocations: 15.44 kB / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.3151, allocations: 0 / 1.175 GB, free: 14.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.005605/0.3207, allocations: 2.011 MB / 1.177 GB, free: 12.07 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches