Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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.0007574/0.0007574, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007738/0.0007738, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8803/0.8803, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.617/1.617, allocations: 359 MB / 0.6044 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] 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.Hunt1979Light,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.Hunt1979Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light,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.Hunt1979Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 0.9517 GB, free: 3.008 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.226e-05/2.397e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.004 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.001809/0.001833, allocations: 1.529 MB / 0.9532 GB, free: 1.457 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001002/0.002835, allocations: 0.7988 MB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.383e-05/0.002889, allocations: 4 kB / 0.954 GB, free: 0.6484 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.002921, allocations: 11.86 kB / 0.954 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 8.105e-05/0.003002, allocations: 19.8 kB / 0.954 GB, free: 0.6172 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005187/0.003521, allocations: 159.3 kB / 0.9542 GB, free: 472 kB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.003633, allocations: 87.7 kB / 0.9542 GB, free: 384 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 8.56e-05/0.003719, allocations: 11.98 kB / 0.9542 GB, free: 372 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001332/0.003852, allocations: 63.81 kB / 0.9543 GB, free: 308 kB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.003908, allocations: 31.89 kB / 0.9543 GB, free: 276 kB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.622e-05/0.003925, allocations: 8 kB / 0.9543 GB, free: 268 kB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.004107, allocations: 143.7 kB / 0.9545 GB, free: 124 kB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.189e-05/0.004129, allocations: 23.91 kB / 0.9545 GB, free: 100 kB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.549e-05/0.004165, allocations: 23.92 kB / 0.9545 GB, free: 76 kB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0002362/0.004401, allocations: 187.5 kB / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.004403, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.262e-06/0.004404, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 3.697e-06/0.004408, allocations: 0 / 0.9547 GB, free: 15.89 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000557/0.004965, allocations: 409.1 kB / 0.9551 GB, free: 15.45 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.005, allocations: 15.97 kB / 0.9551 GB, free: 15.43 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001398/0.00514, allocations: 28.88 kB / 0.9551 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001784/0.005319, allocations: 133.6 kB / 0.9553 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.174e-05/0.00539, allocations: 85.67 kB / 0.9554 GB, free: 15.15 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.005403, allocations: 8.312 kB / 0.9554 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.005546, allocations: 82.19 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.005554, allocations: 192 / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.133e-05/0.005565, allocations: 4.125 kB / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.005569, allocations: 0 / 0.9554 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001102/0.00568, allocations: 59.89 kB / 0.9555 GB, free: 14.99 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.006012, allocations: 256.4 kB / 0.9557 GB, free: 14.71 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.00614, allocations: 62.55 kB / 0.9558 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.923e-05/0.006199, allocations: 28.84 kB / 0.9558 GB, free: 14.61 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.006223, allocations: 11.92 kB / 0.9558 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.006376, allocations: 103.5 kB / 0.9559 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=10): time 1.363e-06/0.006378, allocations: 0 / 0.9559 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10): time 0.0003407/0.006718, allocations: 169.5 kB / 0.9561 GB, free: 14.31 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.006755, allocations: 55.41 kB / 0.9562 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.679e-05/0.006841, allocations: 140.3 kB / 0.9563 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.006855, allocations: 25.7 kB / 0.9563 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.579e-05/0.0069, allocations: 96.36 kB / 0.9564 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.912e-05/0.00692, allocations: 19.86 kB / 0.9564 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.707e-05/0.006957, allocations: 34.08 kB / 0.9565 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0002354/0.007192, allocations: 322.8 kB / 0.9568 GB, free: 13.59 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.478e-05/0.007277, allocations: 27.98 kB / 0.9568 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.007381, allocations: 73.06 kB / 0.9569 GB, free: 13.47 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001432/0.007524, allocations: 113 kB / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.007527, allocations: 0 / 0.957 GB, free: 13.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001651/0.007692, allocations: 141.4 kB / 0.9571 GB, free: 13.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.007704, allocations: 4 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.007709, allocations: 0 / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.007722, allocations: 4 kB / 0.9571 GB, free: 13.19 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.611e-05/0.007788, allocations: 20.11 kB / 0.9571 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.007794, allocations: 11.92 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.073e-05/0.007844, allocations: 15.89 kB / 0.9572 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.048e-05/0.007855, allocations: 11.98 kB / 0.9572 GB, free: 13.13 MB / 0.9167 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,occ.pulseStart,$PRE.occ.pulseStart,occ.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 7.189e-05/0.007927, allocations: 119.9 kB / 0.9573 GB, free: 13 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.007938, allocations: 11.89 kB / 0.9573 GB, free: 12.99 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.58e-05/0.007964, allocations: 12.78 kB / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.007966, allocations: 0 / 0.9573 GB, free: 12.98 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.00797, allocations: 3.938 kB / 0.9573 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.007974, allocations: 8.078 kB / 0.9573 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.008328, allocations: 377.9 kB / 0.9577 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008329, allocations: 0 / 0.9577 GB, free: 12.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.04e-05/0.008359, allocations: 7.984 kB / 0.9577 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.008361, allocations: 0 / 0.9577 GB, free: 12.55 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.008372, allocations: 7.984 kB / 0.9577 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.008373, allocations: 0 / 0.9577 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.008374, allocations: 0 / 0.9577 GB, free: 12.54 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.008555, allocations: 235.3 kB / 0.9579 GB, free: 12.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.008566, allocations: 11.88 kB / 0.9579 GB, free: 12.29 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.00858, allocations: 4 kB / 0.9579 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.411e-05/0.008634, allocations: 11.98 kB / 0.9579 GB, free: 12.27 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.062e-05/0.008675, allocations: 7.984 kB / 0.958 GB, free: 12.26 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.008688, allocations: 8.172 kB / 0.958 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.156e-05/0.00873, allocations: 106.1 kB / 0.9581 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.00873, allocations: 3.938 kB / 0.9581 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002016/0.008931, allocations: 35.94 kB / 0.9581 GB, free: 12.11 MB / 0.9167 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 (occ.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,occ.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0002606/0.009192, allocations: 170 kB / 0.9583 GB, free: 11.96 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00018/0.009372, allocations: 95.75 kB / 0.9584 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009373, allocations: 256 / 0.9584 GB, free: 11.86 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 7.01e-05/0.009443, allocations: 47.91 kB / 0.9584 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001889/0.009632, allocations: 19.73 kB / 0.9584 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003398/0.009972, allocations: 227 kB / 0.9586 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.267e-05/0.01002, allocations: 83.66 kB / 0.9587 GB, free: 11.44 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.965e-05/0.01005, allocations: 24.44 kB / 0.9587 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of SimCode: time 4.6e-07/0.01005, allocations: 0 / 0.9587 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of Templates: time 0.002529/0.01258, allocations: 1.942 MB / 0.9606 GB, free: 9.48 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.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: 6.70267871953547]