Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001699/0.001699, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.00193/0.00193, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 3.141 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.716/2.716, allocations: 443.4 MB / 0.7304 GB, free: 13.89 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.Hunt1979Light,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.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_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.91 kB / 1.059 GB, free: 404 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4365/0.4384, allocations: 160.7 MB / 1.216 GB, free: 15.38 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.003868/0.4423, allocations: 1.54 MB / 1.218 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.4443, allocations: 0.7879 MB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.769e-05/0.4443, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.936e-05/0.4444, allocations: 11.86 kB / 1.218 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.4445, allocations: 15.86 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006746/0.4452, allocations: 127.6 kB / 1.219 GB, free: 12.87 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001798/0.4453, allocations: 83.7 kB / 1.219 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.4454, allocations: 12 kB / 1.219 GB, free: 12.78 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000144/0.4456, allocations: 43.83 kB / 1.219 GB, free: 12.73 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.4457, allocations: 43.77 kB / 1.219 GB, free: 12.69 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.4457, allocations: 8 kB / 1.219 GB, free: 12.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002866/0.446, allocations: 103.8 kB / 1.219 GB, free: 12.58 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.023e-05/0.446, allocations: 19.97 kB / 1.219 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 7.41e-05/0.4461, allocations: 39.8 kB / 1.219 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003498/0.4465, allocations: 155.4 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.4465, allocations: 4 kB / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4465, allocations: 0 / 1.219 GB, free: 12.37 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.4465, allocations: 0 / 1.219 GB, free: 12.37 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.001123/0.4476, allocations: 486.2 kB / 1.219 GB, free: 11.83 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.4476, allocations: 8.031 kB / 1.219 GB, free: 11.82 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.407e-05/0.4477, allocations: 16.88 kB / 1.219 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.4479, allocations: 172.3 kB / 1.22 GB, free: 11.6 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001119/0.448, allocations: 38.25 kB / 1.22 GB, free: 11.56 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.391e-05/0.448, allocations: 4.375 kB / 1.22 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.4484, allocations: 81.77 kB / 1.22 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4484, allocations: 7.938 kB / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.662e-05/0.4484, allocations: 0 / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.4484, allocations: 0 / 1.22 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002942/0.4487, allocations: 47.97 kB / 1.22 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007704/0.4495, allocations: 324.6 kB / 1.22 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/0.4498, allocations: 78.56 kB / 1.22 GB, free: 10.96 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.4499, allocations: 32.83 kB / 1.22 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 3.182e-05/0.45, allocations: 4 kB / 1.22 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/0.4503, allocations: 91.34 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=10): time 1.903e-06/0.4503, allocations: 4 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of matching and sorting (n=10): time 0.0007642/0.4511, allocations: 165.5 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.4512, allocations: 59.34 kB / 1.221 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.4513, allocations: 131.7 kB / 1.221 GB, free: 10.44 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.4514, allocations: 29.7 kB / 1.221 GB, free: 10.4 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.4515, allocations: 96.31 kB / 1.221 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.4515, allocations: 24.38 kB / 1.221 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.498e-05/0.4516, allocations: 37.64 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.4518, allocations: 330.8 kB / 1.221 GB, free: 9.902 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.452, allocations: 27.97 kB / 1.221 GB, free: 9.875 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.4522, allocations: 75.81 kB / 1.221 GB, free: 9.785 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.4525, allocations: 105.1 kB / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.4525, allocations: 0 / 1.221 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004793/0.453, allocations: 137.5 kB / 1.221 GB, free: 9.523 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.453, allocations: 4 kB / 1.221 GB, free: 9.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.453, allocations: 8 kB / 1.222 GB, free: 9.512 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.4531, allocations: 3.984 kB / 1.222 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.4532, allocations: 19.92 kB / 1.222 GB, free: 9.488 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4532, allocations: 3.984 kB / 1.222 GB, free: 9.484 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001779/0.4534, allocations: 20.05 kB / 1.222 GB, free: 9.465 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.861e-05/0.4534, allocations: 8 kB / 1.222 GB, free: 9.457 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,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.0001421/0.4536, allocations: 125.8 kB / 1.222 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.356e-05/0.4536, allocations: 15.84 kB / 1.222 GB, free: 9.309 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.176e-05/0.4537, allocations: 12.7 kB / 1.222 GB, free: 9.297 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4537, allocations: 4 kB / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.4537, allocations: 0 / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.4537, allocations: 0 / 1.222 GB, free: 9.293 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009637/0.4546, allocations: 422.4 kB / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.4546, allocations: 0 / 1.222 GB, free: 8.824 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001052/0.4547, allocations: 7.984 kB / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.4547, allocations: 0 / 1.222 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.694e-05/0.4548, allocations: 7.984 kB / 1.222 GB, free: 8.809 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.4548, allocations: 3.938 kB / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.4548, allocations: 0 / 1.222 GB, free: 8.805 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005287/0.4553, allocations: 227.4 kB / 1.222 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.014e-05/0.4554, allocations: 92.95 kB / 1.222 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.768e-05/0.4554, allocations: 7.984 kB / 1.222 GB, free: 8.449 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002029/0.4556, allocations: 11.92 kB / 1.222 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.155e-05/0.4557, allocations: 16.2 kB / 1.222 GB, free: 8.422 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.351e-05/0.4557, allocations: 11.98 kB / 1.222 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 9.512e-05/0.4558, allocations: 104.8 kB / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4558, allocations: 0 / 1.223 GB, free: 8.309 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005691/0.4564, allocations: 43.92 kB / 1.223 GB, free: 8.266 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 (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.0005062/0.4569, allocations: 160.2 kB / 1.223 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000478/0.4574, allocations: 87.88 kB / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.4574, allocations: 0 / 1.223 GB, free: 8.031 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.4576, allocations: 39.92 kB / 1.223 GB, free: 7.992 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.4581, allocations: 22.05 kB / 1.223 GB, free: 7.973 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.4588, allocations: 223.8 kB / 1.223 GB, free: 7.727 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004256/0.4592, allocations: 0.6924 MB / 1.224 GB, free: 7.008 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 7.55e-05/0.4593, allocations: 12.61 kB / 1.224 GB, free: 6.996 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.4593, allocations: 19.42 kB / 1.224 GB, free: 6.977 MB / 0.9669 GB Notification: Performance of SimCode: time 5.51e-07/0.4593, allocations: 4 kB / 1.224 GB, free: 6.973 MB / 0.9669 GB Notification: Performance of Templates: time 0.007358/0.4667, allocations: 1.838 MB / 1.226 GB, free: 5.141 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Hunt1979Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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.418532408773899]