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.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.00131/0.00131, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001457/0.001457, allocations: 190.7 kB / 22.17 MB, free: 5.656 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.457/1.457, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 476.7 MB / 0.7645 GB, free: 10.12 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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: Performance of FrontEnd - loaded program: time 0.002036/0.002036, allocations: 67.89 kB / 1.109 GB, free: 6.578 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8138/0.8158, allocations: 168.7 MB / 1.274 GB, free: 4.414 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002693/0.8185, allocations: 1.556 MB / 1.276 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001386/0.8199, allocations: 0.7844 MB / 1.276 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.565e-05/0.8199, allocations: 3.938 kB / 1.276 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.048e-05/0.8199, allocations: 11.92 kB / 1.276 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.49e-05/0.82, allocations: 19.8 kB / 1.276 GB, free: 2.027 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.8206, allocations: 131.5 kB / 1.276 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001458/0.8207, allocations: 95.75 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.471e-05/0.8208, allocations: 11.94 kB / 1.277 GB, free: 1.793 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.8209, allocations: 51.83 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.824e-05/0.821, allocations: 43.77 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.821, allocations: 8 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002057/0.8212, allocations: 107.8 kB / 1.277 GB, free: 1.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.8213, allocations: 23.91 kB / 1.277 GB, free: 1.562 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.8213, allocations: 43.78 kB / 1.277 GB, free: 1.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002717/0.8216, allocations: 162.1 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8216, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8216, allocations: 0 / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.29e-05/0.8216, allocations: 4 kB / 1.277 GB, free: 1.359 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.0008576/0.8225, allocations: 0.4999 MB / 1.277 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.8225, allocations: 16.03 kB / 1.278 GB, free: 0.7773 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.053e-05/0.8226, allocations: 12.84 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001628/0.8227, allocations: 190.9 kB / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.8227, allocations: 384 / 1.278 GB, free: 0.543 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.071e-05/0.8228, allocations: 8.375 kB / 1.278 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002066/0.823, allocations: 81.95 kB / 1.278 GB, free: 460 kB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.823, allocations: 4 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.823, allocations: 3.938 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.823, allocations: 0 / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.8232, allocations: 59.89 kB / 1.278 GB, free: 392 kB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005652/0.8237, allocations: 328.8 kB / 1.278 GB, free: 12 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.824, allocations: 78.69 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.652e-05/0.8241, allocations: 36.84 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.141e-05/0.8241, allocations: 7.938 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.8243, allocations: 95.34 kB / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.533e-06/0.8243, allocations: 0 / 1.278 GB, free: 15.77 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0004538/0.8248, allocations: 181.7 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.926e-05/0.8248, allocations: 55.41 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.8249, allocations: 137.8 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.573e-05/0.825, allocations: 33.7 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.973e-05/0.825, allocations: 96.08 kB / 1.279 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.8251, allocations: 35.77 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.765e-05/0.8251, allocations: 33.7 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.8253, allocations: 330.8 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.392e-05/0.8254, allocations: 27.98 kB / 1.279 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.8255, allocations: 69.12 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.8257, allocations: 101.1 kB / 1.279 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.8257, allocations: 4 kB / 1.279 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002709/0.8259, allocations: 141.4 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.8259, allocations: 11.98 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.826, allocations: 3.938 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.826, allocations: 0 / 1.28 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.8261, allocations: 15.98 kB / 1.28 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.8261, allocations: 4 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.8262, allocations: 19.92 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.8262, allocations: 8.078 kB / 1.28 GB, free: 14.39 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.0001082/0.8263, allocations: 129.7 kB / 1.28 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.376e-05/0.8263, allocations: 11.95 kB / 1.28 GB, free: 14.25 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.8267, allocations: 167.3 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.8267, allocations: 4 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.8267, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.8267, allocations: 0 / 1.28 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006664/0.8274, allocations: 459.6 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.8274, allocations: 3.984 kB / 1.28 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.168e-05/0.8275, allocations: 8 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.8275, allocations: 4 kB / 1.28 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.8275, allocations: 11.86 kB / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.8275, allocations: 0 / 1.28 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.8275, allocations: 3.938 kB / 1.28 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003514/0.8279, allocations: 255.4 kB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.8279, allocations: 89 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.723e-05/0.8279, allocations: 4 kB / 1.281 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/0.8281, allocations: 15.98 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/0.8281, allocations: 11.92 kB / 1.281 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.8281, allocations: 4 kB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.832e-05/0.8282, allocations: 117.2 kB / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8282, allocations: 0 / 1.281 GB, free: 13.01 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000315/0.8285, allocations: 51.94 kB / 1.281 GB, free: 12.96 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.0003658/0.8289, allocations: 171.2 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.8292, allocations: 87.89 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.8292, allocations: 192 / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.8293, allocations: 51.92 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.8296, allocations: 15.98 kB / 1.281 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.8301, allocations: 251.4 kB / 1.281 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003229/0.8304, allocations: 0.708 MB / 1.282 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.351e-05/0.8305, allocations: 4.562 kB / 1.282 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.8305, allocations: 19.42 kB / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.8305, allocations: 0 / 1.282 GB, free: 11.63 MB / 0.9825 GB Notification: Performance of Templates: time 0.005508/0.836, allocations: 2.049 MB / 1.284 GB, free: 9.586 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 -s gbode -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_2/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: 8.633440006989986]