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.001446/0.001446, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001558/0.001558, allocations: 165 kB / 22.46 MB, free: 5.359 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.473/1.473, allocations: 177.1 MB / 202.8 MB, free: 9.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.714/2.714, allocations: 359 MB / 0.6037 GB, free: 14.99 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 3.606e-06/3.606e-06, allocations: 3.984 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.261e-05/2.622e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.63 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Reinhart2003Light): time 0.002745/0.002772, allocations: 1.545 MB / 0.9524 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001617/0.004389, allocations: 0.8145 MB / 0.9532 GB, free: 9.242 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.574e-05/0.004445, allocations: 4 kB / 0.9532 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.418e-05/0.004479, allocations: 7.875 kB / 0.9533 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.558e-05/0.004574, allocations: 23.78 kB / 0.9533 GB, free: 9.207 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000582/0.005156, allocations: 155.3 kB / 0.9534 GB, free: 9.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001586/0.005315, allocations: 99.64 kB / 0.9535 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.347e-05/0.005398, allocations: 23.91 kB / 0.9535 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.005565, allocations: 71.73 kB / 0.9536 GB, free: 8.863 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.631e-05/0.005652, allocations: 39.89 kB / 0.9536 GB, free: 8.824 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.438e-05/0.005676, allocations: 8 kB / 0.9537 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000281/0.005957, allocations: 139.7 kB / 0.9538 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.444e-05/0.005992, allocations: 23.91 kB / 0.9538 GB, free: 8.656 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.006045, allocations: 31.91 kB / 0.9538 GB, free: 8.625 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003114/0.006356, allocations: 195.4 kB / 0.954 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006359, allocations: 0 / 0.954 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.51e-07/0.00636, allocations: 0 / 0.954 GB, free: 8.434 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.006365, allocations: 0 / 0.954 GB, free: 8.434 MB / 0.8575 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.000825/0.00719, allocations: 446.7 kB / 0.9545 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.242e-05/0.007223, allocations: 12.03 kB / 0.9545 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000325/0.007548, allocations: 36.81 kB / 0.9545 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002259/0.007774, allocations: 140.1 kB / 0.9546 GB, free: 7.742 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.00779, allocations: 4.375 kB / 0.9546 GB, free: 7.738 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.007813, allocations: 8.375 kB / 0.9546 GB, free: 7.73 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000212/0.008025, allocations: 78.14 kB / 0.9547 GB, free: 7.648 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.008036, allocations: 3.938 kB / 0.9547 GB, free: 7.645 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.527e-05/0.008051, allocations: 3.984 kB / 0.9547 GB, free: 7.641 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.008058, allocations: 8 kB / 0.9547 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.008217, allocations: 51.95 kB / 0.9548 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005219/0.008739, allocations: 264.3 kB / 0.955 GB, free: 7.293 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.008972, allocations: 78.59 kB / 0.9551 GB, free: 7.207 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.973e-05/0.009072, allocations: 32.84 kB / 0.9551 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.009095, allocations: 4 kB / 0.9551 GB, free: 7.168 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.009306, allocations: 103.3 kB / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=11): time 1.833e-06/0.009308, allocations: 0 / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.0004741/0.009782, allocations: 185.5 kB / 0.9554 GB, free: 6.867 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.009825, allocations: 55.41 kB / 0.9555 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001328/0.009957, allocations: 139.9 kB / 0.9556 GB, free: 6.656 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.009982, allocations: 29.7 kB / 0.9556 GB, free: 6.621 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.01005, allocations: 104.1 kB / 0.9557 GB, free: 6.516 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.571e-05/0.01009, allocations: 31.73 kB / 0.9558 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.01015, allocations: 33.7 kB / 0.9558 GB, free: 6.445 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.01032, allocations: 330.7 kB / 0.9561 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.784e-05/0.0104, allocations: 31.98 kB / 0.9561 GB, free: 6.082 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001238/0.01053, allocations: 79.17 kB / 0.9562 GB, free: 5.988 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.01072, allocations: 97.06 kB / 0.9563 GB, free: 5.875 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.898e-06/0.01073, allocations: 4 kB / 0.9563 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002794/0.01101, allocations: 133.6 kB / 0.9564 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.349e-05/0.01102, allocations: 8 kB / 0.9565 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.01103, allocations: 7.938 kB / 0.9565 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.01104, allocations: 0 / 0.9565 GB, free: 5.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.01116, allocations: 19.92 kB / 0.9565 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.01116, allocations: 4 kB / 0.9565 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.01127, allocations: 19.94 kB / 0.9565 GB, free: 5.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.522e-05/0.01129, allocations: 4 kB / 0.9565 GB, free: 5.672 MB / 0.8575 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.0001142/0.0114, allocations: 131.9 kB / 0.9566 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.556e-05/0.01143, allocations: 11.95 kB / 0.9566 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004004/0.01183, allocations: 185.6 kB / 0.9568 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01183, allocations: 0 / 0.9568 GB, free: 5.34 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.01184, allocations: 4 kB / 0.9568 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.01184, allocations: 0 / 0.9568 GB, free: 5.336 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006391/0.01248, allocations: 402 kB / 0.9572 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.01248, allocations: 0 / 0.9572 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.489e-05/0.01257, allocations: 12 kB / 0.9572 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.01257, allocations: 0 / 0.9572 GB, free: 4.895 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.612e-05/0.01259, allocations: 11.98 kB / 0.9572 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01259, allocations: 0 / 0.9572 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.01259, allocations: 0 / 0.9572 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003706/0.01296, allocations: 247.3 kB / 0.9575 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.714e-05/0.01298, allocations: 7.953 kB / 0.9575 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.736e-05/0.013, allocations: 4 kB / 0.9575 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001293/0.01313, allocations: 15.92 kB / 0.9575 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.01319, allocations: 11.98 kB / 0.9575 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.01321, allocations: 11.92 kB / 0.9575 GB, free: 4.574 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.78e-05/0.01329, allocations: 103.3 kB / 0.9576 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.01329, allocations: 4 kB / 0.9576 GB, free: 4.469 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003301/0.01362, allocations: 55.81 kB / 0.9577 GB, free: 4.414 MB / 0.8575 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.000391/0.01401, allocations: 164.2 kB / 0.9578 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.01429, allocations: 96.02 kB / 0.9579 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01429, allocations: 0 / 0.9579 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001322/0.01443, allocations: 55.91 kB / 0.958 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.01475, allocations: 24.19 kB / 0.958 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004854/0.01523, allocations: 223.3 kB / 0.9582 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.367e-05/0.01532, allocations: 92.33 kB / 0.9583 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.9e-05/0.01537, allocations: 12.47 kB / 0.9583 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.427e-05/0.01542, allocations: 24.48 kB / 0.9583 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of SimCode: time 4.21e-07/0.01542, allocations: 0 / 0.9583 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of Templates: time 0.0058/0.02122, allocations: 2.076 MB / 0.9604 GB, free: 1.656 MB / 0.8575 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/jenkins/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: 8.089669570326805]