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.008053/0.008053, allocations: 99.95 kB / 15.73 MB, free: 6.062 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.001674/0.001674, allocations: 189.3 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 4.176 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.761/2.761, allocations: 437 MB / 0.7105 GB, free: 4.988 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.91 kB / 1.018 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3285/0.3296, allocations: 151.6 MB / 1.167 GB, free: 6.988 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002536/0.3322, allocations: 1.536 MB / 1.168 GB, free: 5.434 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001268/0.3335, allocations: 0.7712 MB / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.868e-05/0.3336, allocations: 0 / 1.169 GB, free: 4.656 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.674e-05/0.3336, allocations: 7.875 kB / 1.169 GB, free: 4.648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3337, allocations: 15.86 kB / 1.169 GB, free: 4.633 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.3344, allocations: 135.5 kB / 1.169 GB, free: 4.5 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.3345, allocations: 99.7 kB / 1.169 GB, free: 4.402 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001118/0.3346, allocations: 19.92 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001034/0.3348, allocations: 39.84 kB / 1.169 GB, free: 4.344 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.335e-05/0.3349, allocations: 51.75 kB / 1.169 GB, free: 4.293 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.3349, allocations: 8 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.3351, allocations: 99.84 kB / 1.169 GB, free: 4.188 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.336e-05/0.3351, allocations: 23.91 kB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.3352, allocations: 39.8 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.3355, allocations: 167.4 kB / 1.17 GB, free: 3.961 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3355, allocations: 0 / 1.17 GB, free: 3.961 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.829e-06/0.3355, allocations: 4 kB / 1.17 GB, free: 3.957 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3355, allocations: 3.938 kB / 1.17 GB, free: 3.953 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.0007977/0.3363, allocations: 0.496 MB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.3363, allocations: 12.03 kB / 1.17 GB, free: 3.379 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.929e-05/0.3364, allocations: 16.84 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.3366, allocations: 188.2 kB / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.527e-05/0.3366, allocations: 384 / 1.17 GB, free: 3.141 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3366, allocations: 8.375 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002041/0.3368, allocations: 85.89 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.288e-06/0.3368, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.3369, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.451e-06/0.3369, allocations: 0 / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001471/0.337, allocations: 51.95 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.3376, allocations: 344.6 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.3378, allocations: 82.7 kB / 1.171 GB, free: 2.516 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.3379, allocations: 40.78 kB / 1.171 GB, free: 2.473 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.3379, allocations: 4 kB / 1.171 GB, free: 2.469 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002042/0.3381, allocations: 95.34 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of pre-optimization done (n=11): time 1.382e-06/0.3382, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.0004357/0.3386, allocations: 181.8 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.613e-05/0.3386, allocations: 55.34 kB / 1.171 GB, free: 2.113 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.3388, allocations: 144 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.3388, allocations: 29.7 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.687e-05/0.3389, allocations: 96.14 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.057e-05/0.3389, allocations: 35.78 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/0.3389, allocations: 33.7 kB / 1.171 GB, free: 1.758 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001098/0.3391, allocations: 322.8 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.732e-05/0.3391, allocations: 31.92 kB / 1.172 GB, free: 1.402 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.935e-05/0.3392, allocations: 71.09 kB / 1.172 GB, free: 1.316 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001848/0.3394, allocations: 117 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.3395, allocations: 0 / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002428/0.3397, allocations: 137.6 kB / 1.172 GB, free: 1.043 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.3397, allocations: 8 kB / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3397, allocations: 0 / 1.172 GB, free: 1.035 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.3398, allocations: 4 kB / 1.172 GB, free: 1.031 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.3399, allocations: 15.98 kB / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.3399, allocations: 0 / 1.172 GB, free: 1.016 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-05/0.34, allocations: 19.94 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.263e-05/0.34, allocations: 4 kB / 1.172 GB, free: 0.9922 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.0001809/0.3402, allocations: 133.7 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.085e-05/0.3402, allocations: 7.953 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003573/0.3406, allocations: 170.3 kB / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3406, allocations: 0 / 1.172 GB, free: 0.6719 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.3406, allocations: 3.938 kB / 1.172 GB, free: 0.668 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.123e-06/0.3406, allocations: 3.984 kB / 1.172 GB, free: 0.6641 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005751/0.3412, allocations: 458.3 kB / 1.173 GB, free: 164 kB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3412, allocations: 4 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.674e-05/0.3413, allocations: 15.94 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3413, allocations: 0 / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/0.3413, allocations: 11.98 kB / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3413, allocations: 0 / 1.173 GB, free: 132 kB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.3413, allocations: 3.938 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003281/0.3417, allocations: 255 kB / 1.173 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.926e-05/0.3417, allocations: 81.06 kB / 1.173 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.32e-05/0.3418, allocations: 11.94 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.3419, allocations: 11.98 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.3419, allocations: 11.92 kB / 1.173 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.809e-05/0.342, allocations: 11.98 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 6.642e-05/0.342, allocations: 105.5 kB / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.342, allocations: 0 / 1.173 GB, free: 15.62 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003011/0.3423, allocations: 55.81 kB / 1.173 GB, free: 15.56 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.0003501/0.3427, allocations: 170.1 kB / 1.174 GB, free: 15.4 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.343, allocations: 91.52 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.343, allocations: 3.938 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001204/0.3431, allocations: 59.91 kB / 1.174 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002917/0.3434, allocations: 22.05 kB / 1.174 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/0.3439, allocations: 234.2 kB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.3441, allocations: 0.7002 MB / 1.175 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.084e-05/0.3442, allocations: 16.55 kB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.042e-05/0.3442, allocations: 19.44 kB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3442, allocations: 0 / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of Templates: time 0.004725/0.349, allocations: 2.009 MB / 1.177 GB, free: 12.21 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