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.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.001746/0.001746, 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.002036/0.002036, allocations: 194.3 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.444/1.444, allocations: 225.6 MB / 250.9 MB, free: 13.3 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.822/2.822, 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.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 0.002046/0.002046, allocations: 67.89 kB / 1.109 GB, free: 6.594 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7922/0.7942, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003005/0.7972, allocations: 1.531 MB / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001481/0.7987, allocations: 0.7766 MB / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.944e-05/0.7988, allocations: 0 / 1.276 GB, free: 2.238 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.863e-05/0.7988, allocations: 11.88 kB / 1.276 GB, free: 2.227 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001/0.7989, allocations: 15.88 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.7994, allocations: 127.5 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.7996, allocations: 87.75 kB / 1.277 GB, free: 2 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.562e-05/0.7997, allocations: 15.92 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.566e-05/0.7998, allocations: 39.8 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.665e-05/0.7998, allocations: 47.81 kB / 1.277 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.7999, allocations: 11.94 kB / 1.277 GB, free: 1.887 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002137/0.8001, allocations: 103.9 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.769e-05/0.8001, allocations: 27.84 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.019e-05/0.8002, allocations: 31.86 kB / 1.277 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002634/0.8004, allocations: 154.1 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.8004, allocations: 0 / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.272e-06/0.8004, allocations: 0 / 1.277 GB, free: 1.578 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.8004, allocations: 0 / 1.277 GB, free: 1.578 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000863/0.8013, allocations: 482.3 kB / 1.277 GB, free: 1.047 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.8013, allocations: 12.03 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.567e-05/0.8014, allocations: 8.891 kB / 1.277 GB, free: 1.027 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.8016, allocations: 176.3 kB / 1.278 GB, free: 0.8164 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.323e-05/0.8016, allocations: 42.19 kB / 1.278 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.76e-05/0.8017, allocations: 4.375 kB / 1.278 GB, free: 0.7656 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002241/0.8019, allocations: 77.77 kB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.8019, allocations: 0 / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.8019, allocations: 3.938 kB / 1.278 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.8019, allocations: 4 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002089/0.8021, allocations: 51.95 kB / 1.278 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005663/0.8027, allocations: 324.6 kB / 1.278 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.803, allocations: 70.53 kB / 1.278 GB, free: 184 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001131/0.8031, allocations: 32.84 kB / 1.278 GB, free: 148 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.347e-05/0.8031, allocations: 8.125 kB / 1.278 GB, free: 140 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000264/0.8034, allocations: 99.38 kB / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/0.8034, allocations: 0 / 1.278 GB, free: 28 kB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0005503/0.8039, allocations: 173.7 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.605e-05/0.8039, allocations: 55.41 kB / 1.278 GB, free: 15.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001506/0.8041, allocations: 132.6 kB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.8041, allocations: 29.7 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.8042, allocations: 96.33 kB / 1.279 GB, free: 15.51 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.066e-05/0.8042, allocations: 27.78 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.806e-05/0.8043, allocations: 33.7 kB / 1.279 GB, free: 15.44 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001526/0.8044, allocations: 326.8 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001234/0.8046, allocations: 31.98 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001503/0.8047, allocations: 70.12 kB / 1.279 GB, free: 15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002519/0.805, allocations: 113 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.694e-06/0.805, allocations: 4 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003323/0.8053, allocations: 133.5 kB / 1.279 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.8053, allocations: 4 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.8053, allocations: 4 kB / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.8053, allocations: 0 / 1.279 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.8055, allocations: 19.98 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.005e-05/0.8055, allocations: 4 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/0.8056, allocations: 15.94 kB / 1.279 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.8056, allocations: 7.938 kB / 1.279 GB, free: 14.67 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,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 0.0001228/0.8057, allocations: 129.9 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.336e-05/0.8058, allocations: 7.953 kB / 1.28 GB, free: 14.53 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.8058, allocations: 12.72 kB / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.8058, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.8058, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.8058, allocations: 0 / 1.28 GB, free: 14.51 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.8065, allocations: 434.3 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.8065, allocations: 3.938 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.435e-05/0.8066, allocations: 15.92 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.8066, allocations: 0 / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/0.8066, allocations: 4 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.8066, allocations: 3.938 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8066, allocations: 0 / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.807, allocations: 235.5 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.648e-05/0.8071, allocations: 89.06 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.484e-05/0.8071, allocations: 0 / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.8072, allocations: 15.92 kB / 1.28 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.886e-05/0.8073, allocations: 11.98 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.8073, allocations: 7.984 kB / 1.28 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.327e-05/0.8074, allocations: 99.27 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8074, allocations: 0 / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003372/0.8077, allocations: 43.94 kB / 1.281 GB, free: 13.47 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 (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.0003719/0.8081, allocations: 170.7 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003267/0.8084, allocations: 91.88 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.8084, allocations: 0 / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.8086, allocations: 47.97 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000295/0.8089, allocations: 12.2 kB / 1.281 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.8094, allocations: 226.1 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003339/0.8097, allocations: 0.6965 MB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.72e-05/0.8098, allocations: 8.656 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.8098, allocations: 11.44 kB / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.8098, allocations: 0 / 1.282 GB, free: 12.18 MB / 0.9825 GB Notification: Performance of Templates: time 0.00536/0.8152, allocations: 1.841 MB / 1.284 GB, free: 10.35 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 8.790326829068363]