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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001335/0.001335, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 191.2 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.629/2.629, allocations: 443.4 MB / 0.7321 GB, free: 12.25 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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=2500,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=2500,variableFilter="time|lig.ill|lig.occ|lig.pArriv|lig.on",fileNamePrefix="Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001913/0.001913, allocations: 59.91 kB / 1.061 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.006/1.008, allocations: 160.8 MB / 1.218 GB, free: 3.617 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.003252/1.011, allocations: 1.563 MB / 1.22 GB, free: 2.395 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001637/1.012, allocations: 0.784 MB / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.638e-05/1.013, allocations: 0 / 1.221 GB, free: 1.789 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.795e-05/1.013, allocations: 7.938 kB / 1.221 GB, free: 1.781 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/1.013, allocations: 18.55 kB / 1.221 GB, free: 1.766 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006243/1.013, allocations: 138 kB / 1.221 GB, free: 1.668 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.000182/1.013, allocations: 107 kB / 1.221 GB, free: 1.602 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/1.014, allocations: 8.594 kB / 1.221 GB, free: 1.598 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001243/1.014, allocations: 50.72 kB / 1.221 GB, free: 1.566 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001035/1.014, allocations: 54.38 kB / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.64e-05/1.014, allocations: 6.719 kB / 1.221 GB, free: 1.527 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002917/1.014, allocations: 135.4 kB / 1.221 GB, free: 1.449 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.308e-05/1.014, allocations: 19.02 kB / 1.221 GB, free: 1.434 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 7.033e-05/1.014, allocations: 51.19 kB / 1.221 GB, free: 1.395 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000323/1.015, allocations: 162.8 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.272e-06/1.015, allocations: 1.094 kB / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.503e-06/1.015, allocations: 0 / 1.221 GB, free: 1.293 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.368e-05/1.015, allocations: 0 / 1.221 GB, free: 1.293 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.0009872/1.016, allocations: 0.5072 MB / 1.222 GB, free: 0.7656 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.278e-05/1.016, allocations: 14.38 kB / 1.222 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.438e-05/1.016, allocations: 16.72 kB / 1.222 GB, free: 0.75 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/1.016, allocations: 183 kB / 1.222 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.353e-05/1.016, allocations: 7.094 kB / 1.222 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.677e-05/1.016, allocations: 8.453 kB / 1.222 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002325/1.016, allocations: 84.05 kB / 1.222 GB, free: 476 kB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.315e-05/1.016, allocations: 3.984 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/1.016, allocations: 0.6875 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/1.016, allocations: 2.188 kB / 1.222 GB, free: 472 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001642/1.016, allocations: 53.06 kB / 1.222 GB, free: 444 kB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000663/1.017, allocations: 334.2 kB / 1.223 GB, free: 96 kB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/1.017, allocations: 69.89 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/1.017, allocations: 44.05 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.709e-05/1.017, allocations: 1.188 kB / 1.223 GB, free: 16 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003239/1.018, allocations: 102.4 kB / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.683e-06/1.018, allocations: 0 / 1.223 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0004893/1.018, allocations: 175.1 kB / 1.223 GB, free: 15.83 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/1.018, allocations: 57.45 kB / 1.223 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/1.018, allocations: 145.1 kB / 1.223 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/1.018, allocations: 27.67 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/1.019, allocations: 99.06 kB / 1.223 GB, free: 15.51 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.058e-05/1.019, allocations: 28.47 kB / 1.223 GB, free: 15.49 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/1.019, allocations: 35.64 kB / 1.223 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001755/1.019, allocations: 329.1 kB / 1.224 GB, free: 15.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/1.019, allocations: 28.17 kB / 1.224 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/1.019, allocations: 74.92 kB / 1.224 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/1.019, allocations: 99.81 kB / 1.224 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.019, allocations: 4 kB / 1.224 GB, free: 14.96 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002826/1.02, allocations: 135.4 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.02, allocations: 6.438 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/1.02, allocations: 1.125 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/1.02, allocations: 2.156 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/1.02, allocations: 20.11 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/1.02, allocations: 1.875 kB / 1.224 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001148/1.02, allocations: 22.81 kB / 1.224 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.501e-05/1.02, allocations: 9.375 kB / 1.224 GB, free: 14.86 MB / 0.9356 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/1.02, allocations: 145.2 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.298e-05/1.02, allocations: 8.078 kB / 1.224 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003935/1.02, allocations: 167.2 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/1.02, allocations: 6.656 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/1.02, allocations: 0 / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.02, allocations: 3.938 kB / 1.224 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/1.021, allocations: 464.7 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.021, allocations: 1.062 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.326e-05/1.021, allocations: 14.2 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.985e-06/1.021, allocations: 1.156 kB / 1.225 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.834e-05/1.021, allocations: 5.375 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/1.021, allocations: 8.797 kB / 1.225 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/1.021, allocations: 4.75 kB / 1.225 GB, free: 14.17 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/1.022, allocations: 254 kB / 1.225 GB, free: 13.98 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/1.022, allocations: 92.17 kB / 1.225 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.538e-05/1.022, allocations: 2.219 kB / 1.225 GB, free: 13.87 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/1.022, allocations: 12.45 kB / 1.225 GB, free: 13.86 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/1.022, allocations: 16.39 kB / 1.225 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-05/1.022, allocations: 8.406 kB / 1.225 GB, free: 13.85 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.345e-05/1.022, allocations: 109.8 kB / 1.225 GB, free: 13.76 MB / 0.9356 GB Notification: Performance of sort global known variables: time 9.1e-08/1.022, allocations: 5.125 kB / 1.225 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000356/1.022, allocations: 45.33 kB / 1.225 GB, free: 13.74 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.0004208/1.023, allocations: 167.7 kB / 1.226 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002891/1.023, allocations: 92.86 kB / 1.226 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/1.023, allocations: 4.062 kB / 1.226 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000125/1.023, allocations: 41.92 kB / 1.226 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000328/1.023, allocations: 23.64 kB / 1.226 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006084/1.024, allocations: 244.6 kB / 1.226 GB, free: 13.36 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003635/1.024, allocations: 0.7079 MB / 1.227 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.26e-05/1.024, allocations: 12.08 kB / 1.227 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.622e-05/1.025, allocations: 16.89 kB / 1.227 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/1.025, allocations: 1.188 kB / 1.227 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of Templates: time 0.006444/1.031, allocations: 2.067 MB / 1.229 GB, free: 11.57 MB / 0.9356 GB " [Timeout remaining time 299] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.971744582057]