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.001618/0.001618, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.00183/0.00183, allocations: 220.4 kB / 23 MB, free: 4.914 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.44/1.44, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.734/2.734, allocations: 476 MB / 0.7707 GB, free: 4.77 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.002098/0.002098, allocations: 64.81 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.308, allocations: 169.9 MB / 1.284 GB, free: 12 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.00318/0.3112, allocations: 1.55 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001763/0.313, allocations: 0.812 MB / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.143e-05/0.3131, allocations: 0 / 1.286 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.815e-05/0.3131, allocations: 3.938 kB / 1.286 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.3132, allocations: 27.72 kB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006896/0.3139, allocations: 155.5 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001616/0.314, allocations: 99.64 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.296e-05/0.3141, allocations: 11.98 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.3143, allocations: 55.78 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.919e-05/0.3144, allocations: 39.83 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.531e-05/0.3144, allocations: 8 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003147/0.3147, allocations: 151.7 kB / 1.287 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.363e-05/0.3148, allocations: 19.92 kB / 1.287 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.3148, allocations: 31.8 kB / 1.287 GB, free: 9.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/0.3152, allocations: 183.4 kB / 1.287 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3152, allocations: 4 kB / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3152, allocations: 0 / 1.287 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.3152, allocations: 0 / 1.287 GB, free: 8.844 MB / 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.0008822/0.3161, allocations: 442.8 kB / 1.287 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3161, allocations: 8.031 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003267/0.3164, allocations: 36.8 kB / 1.287 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000313/0.3167, allocations: 142.9 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.323e-05/0.3168, allocations: 4.375 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.3168, allocations: 12.06 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002149/0.317, allocations: 81.64 kB / 1.288 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.317, allocations: 4 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.317, allocations: 0 / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.164e-06/0.317, allocations: 4 kB / 1.288 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001556/0.3172, allocations: 51.89 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005495/0.3177, allocations: 264.3 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002232/0.318, allocations: 78.7 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3181, allocations: 36.83 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.3181, allocations: 4 kB / 1.288 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002094/0.3183, allocations: 103.4 kB / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 2.034e-06/0.3183, allocations: 0 / 1.288 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004782/0.3188, allocations: 185.4 kB / 1.288 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.3188, allocations: 63.38 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.319, allocations: 144.9 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.319, allocations: 33.7 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.447e-05/0.3191, allocations: 100.1 kB / 1.289 GB, free: 6.914 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.526e-05/0.3191, allocations: 31.75 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.3192, allocations: 33.7 kB / 1.289 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.3193, allocations: 326.8 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.3194, allocations: 31.97 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.3196, allocations: 64.09 kB / 1.289 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001952/0.3198, allocations: 105.1 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3198, allocations: 0 / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002946/0.32, allocations: 145.4 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.3201, allocations: 4 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.3201, allocations: 4 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.3201, allocations: 0 / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.3202, allocations: 19.97 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.3202, allocations: 4 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.3203, allocations: 19.89 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3203, allocations: 7.984 kB / 1.289 GB, free: 6.078 MB / 0.9825 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.0001343/0.3205, allocations: 129.8 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3205, allocations: 11.95 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003864/0.3209, allocations: 167.2 kB / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.3209, allocations: 0 / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3209, allocations: 0 / 1.29 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/0.3209, allocations: 7.938 kB / 1.29 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.3215, allocations: 390 kB / 1.29 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.3215, allocations: 3.938 kB / 1.29 GB, free: 5.328 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.712e-05/0.3216, allocations: 23.92 kB / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.3216, allocations: 0 / 1.29 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3216, allocations: 4 kB / 1.29 GB, free: 5.301 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.3e-06/0.3217, allocations: 7.938 kB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.3217, allocations: 3.984 kB / 1.29 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003558/0.322, allocations: 251.3 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.298e-05/0.322, allocations: 15.88 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.782e-05/0.3221, allocations: 4 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001273/0.3222, allocations: 15.92 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.214e-05/0.3222, allocations: 15.98 kB / 1.29 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.3223, allocations: 7.984 kB / 1.29 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.249e-05/0.3223, allocations: 103.3 kB / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3223, allocations: 0 / 1.29 GB, free: 4.871 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003378/0.3227, allocations: 47.92 kB / 1.29 GB, free: 4.824 MB / 0.9825 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.0003836/0.3231, allocations: 172.3 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002788/0.3233, allocations: 87.89 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3233, allocations: 0 / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001323/0.3235, allocations: 55.91 kB / 1.291 GB, free: 4.523 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.3238, allocations: 21.69 kB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.3244, allocations: 257.7 kB / 1.291 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001022/0.3245, allocations: 104.3 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.3245, allocations: 19.42 kB / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of SimCode: time 3.81e-07/0.3245, allocations: 0 / 1.291 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of Templates: time 0.004603/0.3291, allocations: 2.056 MB / 1.293 GB, free: 2.023 MB / 0.9825 GB " [Timeout remaining time 299] 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.415748139377683]