Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00157/0.00157, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 213.2 kB / 23.01 MB, free: 5.125 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 7.941 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.763/2.763, allocations: 476.7 MB / 0.7714 GB, free: 4.258 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002083/0.002083, allocations: 67.45 kB / 1.119 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3298/0.3319, allocations: 169.9 MB / 1.285 GB, free: 3.332 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002949/0.3348, allocations: 1.572 MB / 1.286 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001743/0.3365, allocations: 0.8777 MB / 1.287 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.22e-05/0.3366, allocations: 0 / 1.287 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.3367, allocations: 7.875 kB / 1.287 GB, free: 0.8555 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001057/0.3368, allocations: 27.78 kB / 1.287 GB, free: 0.8281 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006215/0.3374, allocations: 155.5 kB / 1.287 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.3375, allocations: 103.6 kB / 1.287 GB, free: 0.5742 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.129e-05/0.3376, allocations: 12 kB / 1.287 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001579/0.3378, allocations: 55.77 kB / 1.287 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3379, allocations: 47.77 kB / 1.287 GB, free: 472 kB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.159e-05/0.3379, allocations: 8 kB / 1.287 GB, free: 464 kB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002856/0.3382, allocations: 147.8 kB / 1.288 GB, free: 316 kB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.898e-05/0.3382, allocations: 19.97 kB / 1.288 GB, free: 296 kB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 7.354e-05/0.3383, allocations: 47.72 kB / 1.288 GB, free: 248 kB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000303/0.3386, allocations: 179.3 kB / 1.288 GB, free: 68 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3386, allocations: 0 / 1.288 GB, free: 68 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.563e-06/0.3386, allocations: 4 kB / 1.288 GB, free: 64 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.75e-06/0.3386, allocations: 4 kB / 1.288 GB, free: 60 kB / 0.9825 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.0008266/0.3394, allocations: 438.7 kB / 1.288 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.3395, allocations: 12.03 kB / 1.288 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/0.3398, allocations: 32.86 kB / 1.288 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/0.3401, allocations: 142.9 kB / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3401, allocations: 384 / 1.288 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.334e-05/0.3401, allocations: 16.11 kB / 1.288 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000218/0.3403, allocations: 89.52 kB / 1.288 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.3404, allocations: 3.984 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.3404, allocations: 0 / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.277e-06/0.3404, allocations: 4 kB / 1.288 GB, free: 15.26 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.3405, allocations: 47.97 kB / 1.289 GB, free: 15.21 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005926/0.3411, allocations: 315.7 kB / 1.289 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000216/0.3413, allocations: 70.67 kB / 1.289 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.059e-05/0.3414, allocations: 32.84 kB / 1.289 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.3415, allocations: 11.97 kB / 1.289 GB, free: 14.73 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.3417, allocations: 103.3 kB / 1.289 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.333e-06/0.3417, allocations: 0 / 1.289 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0004408/0.3421, allocations: 177.5 kB / 1.289 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.709e-05/0.3422, allocations: 55.41 kB / 1.289 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.3423, allocations: 153.1 kB / 1.289 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.3423, allocations: 29.7 kB / 1.289 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.3424, allocations: 96.12 kB / 1.29 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.3424, allocations: 31.75 kB / 1.29 GB, free: 14.05 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.3425, allocations: 33.7 kB / 1.29 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3427, allocations: 322.8 kB / 1.29 GB, free: 13.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.987e-05/0.3427, allocations: 27.98 kB / 1.29 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3428, allocations: 73.06 kB / 1.29 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001941/0.343, allocations: 105.1 kB / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.343, allocations: 0 / 1.29 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002553/0.3433, allocations: 137.5 kB / 1.29 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3433, allocations: 4 kB / 1.29 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.3433, allocations: 4.094 kB / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3433, allocations: 4 kB / 1.29 GB, free: 13.3 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001174/0.3434, allocations: 19.92 kB / 1.29 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3435, allocations: 7.922 kB / 1.29 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.855e-05/0.3436, allocations: 16.09 kB / 1.29 GB, free: 13.26 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.327e-05/0.3436, allocations: 4 kB / 1.29 GB, free: 13.25 MB / 0.9981 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.0001401/0.3437, allocations: 133.8 kB / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.167e-05/0.3437, allocations: 7.953 kB / 1.29 GB, free: 13.11 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003796/0.3441, allocations: 170.8 kB / 1.291 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3441, allocations: 0 / 1.291 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.996e-05/0.3441, allocations: 3.938 kB / 1.291 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.3441, allocations: 4 kB / 1.291 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.3448, allocations: 438.6 kB / 1.291 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.3448, allocations: 0 / 1.291 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.747e-05/0.3449, allocations: 19.98 kB / 1.291 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.3449, allocations: 3.938 kB / 1.291 GB, free: 12.43 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.3449, allocations: 8 kB / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3449, allocations: 0 / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.3449, allocations: 0 / 1.291 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.3453, allocations: 251.1 kB / 1.291 GB, free: 12.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.311e-05/0.3453, allocations: 19.81 kB / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.394e-05/0.3453, allocations: 0 / 1.291 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.3455, allocations: 23.98 kB / 1.291 GB, free: 12.12 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.3455, allocations: 7.984 kB / 1.291 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/0.3455, allocations: 8 kB / 1.291 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.603e-05/0.3456, allocations: 107.2 kB / 1.291 GB, free: 12 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3456, allocations: 0 / 1.291 GB, free: 12 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003211/0.3459, allocations: 39.94 kB / 1.291 GB, free: 11.96 MB / 0.9981 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.000384/0.3463, allocations: 155 kB / 1.292 GB, free: 11.81 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002661/0.3466, allocations: 99.88 kB / 1.292 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3466, allocations: 3.938 kB / 1.292 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.3467, allocations: 39.98 kB / 1.292 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003176/0.347, allocations: 36.25 kB / 1.292 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.3476, allocations: 273.6 kB / 1.292 GB, free: 11.34 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3479, allocations: 0.7002 MB / 1.293 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.049e-05/0.348, allocations: 19.44 kB / 1.293 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.348, allocations: 0 / 1.293 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of Templates: time 0.004453/0.3525, allocations: 2.028 MB / 1.295 GB, free: 8.562 MB / 0.9981 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Reinhart2003Light.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.528729526005918]