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.001658/0.001658, allocations: 118.2 kB / 17.13 MB, free: 5.781 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.00137/0.00137, allocations: 191.7 kB / 20.08 MB, free: 2.871 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.449/1.449, allocations: 225.6 MB / 248.5 MB, free: 3.598 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.526/2.526, allocations: 443.5 MB / 0.7293 GB, free: 14.61 MB / 0.5762 GB " [Timeout remaining time 177] 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=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.001982/0.001982, allocations: 64.14 kB / 1.057 GB, free: 2.039 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3392/0.3412, allocations: 160.7 MB / 1.214 GB, free: 1.004 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002735/0.3439, allocations: 1.555 MB / 1.216 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3453, allocations: 0.7759 MB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.316e-05/0.3454, allocations: 0 / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.3454, allocations: 7.875 kB / 1.216 GB, free: 14.64 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001114/0.3455, allocations: 23.8 kB / 1.216 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005546/0.3461, allocations: 131.6 kB / 1.216 GB, free: 14.48 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.3462, allocations: 99.64 kB / 1.217 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.346e-05/0.3463, allocations: 8 kB / 1.217 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001068/0.3464, allocations: 51.77 kB / 1.217 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.275e-05/0.3465, allocations: 47.77 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.3465, allocations: 8 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002158/0.3468, allocations: 103.9 kB / 1.217 GB, free: 14.17 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.506e-05/0.3468, allocations: 27.91 kB / 1.217 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.628e-05/0.3469, allocations: 39.8 kB / 1.217 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002819/0.3471, allocations: 167.3 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.3471, allocations: 3.984 kB / 1.217 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3471, allocations: 4 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.819e-06/0.3472, allocations: 0 / 1.217 GB, free: 13.93 MB / 0.9669 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.0008484/0.348, allocations: 0.4921 MB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.348, allocations: 16.03 kB / 1.217 GB, free: 13.36 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.956e-05/0.3481, allocations: 16.84 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.3483, allocations: 180.3 kB / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.614e-05/0.3483, allocations: 384 / 1.218 GB, free: 13.13 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.3483, allocations: 12.31 kB / 1.218 GB, free: 13.12 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.3485, allocations: 85.89 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.3485, allocations: 0 / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.348e-05/0.3486, allocations: 0 / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.316e-05/0.3486, allocations: 7.984 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.3487, allocations: 47.97 kB / 1.218 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005929/0.3493, allocations: 344.6 kB / 1.218 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002385/0.3496, allocations: 74.66 kB / 1.218 GB, free: 12.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.777e-05/0.3497, allocations: 36.84 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.267e-05/0.3497, allocations: 7.938 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002656/0.3499, allocations: 103.4 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.432e-06/0.3499, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0004715/0.3504, allocations: 173.9 kB / 1.219 GB, free: 12.17 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.3505, allocations: 55.41 kB / 1.219 GB, free: 12.1 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.3506, allocations: 143.8 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.3506, allocations: 37.7 kB / 1.219 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.534e-05/0.3507, allocations: 92.14 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.3507, allocations: 35.72 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.046e-05/0.3508, allocations: 33.7 kB / 1.219 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3509, allocations: 326.8 kB / 1.219 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.866e-05/0.351, allocations: 27.98 kB / 1.219 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.3511, allocations: 73.06 kB / 1.219 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.3513, allocations: 105.1 kB / 1.219 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.3513, allocations: 4 kB / 1.219 GB, free: 11.17 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002675/0.3516, allocations: 137.5 kB / 1.22 GB, free: 11.03 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.3516, allocations: 9.719 kB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.029e-06/0.3516, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/0.3516, allocations: 0 / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001142/0.3518, allocations: 23.92 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.3518, allocations: 0 / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.3519, allocations: 15.94 kB / 1.22 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.687e-05/0.3519, allocations: 8 kB / 1.22 GB, free: 10.98 MB / 0.9669 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.0001148/0.352, allocations: 125.9 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.295e-05/0.352, allocations: 7.953 kB / 1.22 GB, free: 10.84 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003887/0.3524, allocations: 178.2 kB / 1.22 GB, free: 10.66 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3524, allocations: 4 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3524, allocations: 3.938 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3524, allocations: 4.125 kB / 1.22 GB, free: 10.64 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006782/0.3531, allocations: 462.3 kB / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3531, allocations: 0 / 1.22 GB, free: 10.14 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.3532, allocations: 15.98 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.3532, allocations: 0 / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.255e-05/0.3532, allocations: 0 / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3532, allocations: 0 / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.3532, allocations: 3.938 kB / 1.22 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.3536, allocations: 263.2 kB / 1.221 GB, free: 9.844 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.813e-05/0.3536, allocations: 85.06 kB / 1.221 GB, free: 9.742 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.535e-05/0.3537, allocations: 3.984 kB / 1.221 GB, free: 9.738 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3538, allocations: 11.94 kB / 1.221 GB, free: 9.727 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.3538, allocations: 15.92 kB / 1.221 GB, free: 9.711 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.3539, allocations: 7.984 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.842e-05/0.3539, allocations: 105.3 kB / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3539, allocations: 0 / 1.221 GB, free: 9.602 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003409/0.3543, allocations: 59.81 kB / 1.221 GB, free: 9.543 MB / 0.9669 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.0003766/0.3547, allocations: 159.6 kB / 1.221 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.3549, allocations: 91.77 kB / 1.221 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3549, allocations: 0 / 1.221 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3551, allocations: 60.09 kB / 1.221 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003054/0.3554, allocations: 21.95 kB / 1.221 GB, free: 9.23 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005539/0.3559, allocations: 269.2 kB / 1.221 GB, free: 8.934 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.3563, allocations: 0.7041 MB / 1.222 GB, free: 8.203 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.3563, allocations: 19.42 kB / 1.222 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.3563, allocations: 0 / 1.222 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of Templates: time 0.004262/0.3606, allocations: 1.998 MB / 1.224 GB, free: 6.184 MB / 0.9669 GB " [Timeout remaining time 300] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.905115308938548]