Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0009646/0.0009646, allocations: 90.36 kB / 15.36 MB, free: 0.7383 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.008554/0.008555, allocations: 173.7 kB / 16.27 MB, free: 6.613 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.43/1.43, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.874/2.874, allocations: 462.6 MB / 0.7364 GB, free: 356 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004223/0.0004226, allocations: 9.156 kB / 0.9028 GB, free: 36.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3208, allocations: 159.6 MB / 1.059 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.001807/0.3226, allocations: 1.264 MB / 1.06 GB, free: 4.281 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001395/0.3241, allocations: 0.7635 MB / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.589e-05/0.3241, allocations: 0 / 1.061 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.508e-05/0.3242, allocations: 3.938 kB / 1.061 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.3243, allocations: 15.86 kB / 1.061 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.3248, allocations: 115.8 kB / 1.061 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.325, allocations: 91.7 kB / 1.061 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.876e-05/0.3251, allocations: 7.984 kB / 1.061 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.3253, allocations: 47.78 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.3254, allocations: 43.81 kB / 1.061 GB, free: 3.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.875e-05/0.3254, allocations: 4 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002054/0.3256, allocations: 91.84 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.3256, allocations: 19.92 kB / 1.061 GB, free: 3.078 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.3257, allocations: 61.5 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.326, allocations: 159.8 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.326, allocations: 7.938 kB / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.272e-06/0.326, allocations: 0 / 1.061 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.326, allocations: 0 / 1.061 GB, free: 2.848 MB / 0.8106 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.0007158/0.3267, allocations: 496.3 kB / 1.062 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.3268, allocations: 8.031 kB / 1.062 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.3268, allocations: 16.83 kB / 1.062 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001337/0.327, allocations: 177 kB / 1.062 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.301e-05/0.327, allocations: 4.375 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.154e-05/0.327, allocations: 8.375 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001939/0.3272, allocations: 85.89 kB / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.3272, allocations: 0 / 1.062 GB, free: 1.961 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.732e-05/0.3272, allocations: 3.984 kB / 1.062 GB, free: 1.957 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3273, allocations: 8 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.3274, allocations: 51.91 kB / 1.062 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005568/0.328, allocations: 340.6 kB / 1.062 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002056/0.3282, allocations: 86.75 kB / 1.063 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.914e-05/0.3283, allocations: 44.78 kB / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.3283, allocations: 0 / 1.063 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.3286, allocations: 103.3 kB / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3286, allocations: 0 / 1.063 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11): time 0.0004108/0.329, allocations: 177.5 kB / 1.063 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.329, allocations: 59.34 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.3292, allocations: 147.1 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.3292, allocations: 29.7 kB / 1.063 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.9e-05/0.3292, allocations: 96.14 kB / 1.063 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.3293, allocations: 35.62 kB / 1.063 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.3293, allocations: 17.72 kB / 1.063 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.794e-05/0.3294, allocations: 326.8 kB / 1.063 GB, free: 348 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.3295, allocations: 31.97 kB / 1.064 GB, free: 316 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.926e-05/0.3296, allocations: 75.39 kB / 1.064 GB, free: 224 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.3298, allocations: 101.1 kB / 1.064 GB, free: 104 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3298, allocations: 4 kB / 1.064 GB, free: 100 kB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000269/0.3301, allocations: 145.3 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3301, allocations: 4.938 kB / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3301, allocations: 0 / 1.064 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.3301, allocations: 4 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001083/0.3303, allocations: 27.84 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.3303, allocations: 4 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.3304, allocations: 20.03 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.566e-05/0.3304, allocations: 7.984 kB / 1.064 GB, free: 15.88 MB / 0.8262 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.0001007/0.3305, allocations: 134.1 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.3305, allocations: 7.906 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003468/0.3309, allocations: 177.5 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.3309, allocations: 144 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.3309, allocations: 3.984 kB / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.3309, allocations: 0 / 1.064 GB, free: 15.56 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.3315, allocations: 478.2 kB / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3315, allocations: 0 / 1.065 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.138e-05/0.3316, allocations: 19.92 kB / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3316, allocations: 0 / 1.065 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3317, allocations: 8 kB / 1.065 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.3317, allocations: 7.984 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.3317, allocations: 3.938 kB / 1.065 GB, free: 15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.332, allocations: 255.2 kB / 1.065 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.262e-05/0.332, allocations: 85.02 kB / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.567e-05/0.3321, allocations: 0 / 1.065 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001257/0.3322, allocations: 15.98 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.678e-05/0.3323, allocations: 11.92 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.3323, allocations: 4 kB / 1.065 GB, free: 14.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.353e-05/0.3324, allocations: 109.1 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3324, allocations: 4 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003166/0.3327, allocations: 48 kB / 1.065 GB, free: 14.44 MB / 0.8262 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.0003192/0.333, allocations: 160 kB / 1.065 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.3333, allocations: 107.9 kB / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3333, allocations: 0 / 1.065 GB, free: 14.19 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3334, allocations: 59.05 kB / 1.066 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.3337, allocations: 15.98 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004618/0.3342, allocations: 275.2 kB / 1.066 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002241/0.3344, allocations: 0.7004 MB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.277e-05/0.3345, allocations: 12.84 kB / 1.067 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.989e-05/0.3345, allocations: 19.42 kB / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3345, allocations: 0 / 1.067 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of Templates: time 0.004644/0.3392, allocations: 1.86 MB / 1.068 GB, free: 11.2 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches