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.001276/0.001276, allocations: 113 kB / 17.6 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.001307/0.001307, allocations: 186.8 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.476/1.476, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.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.843/2.843, allocations: 476.7 MB / 0.7629 GB, free: 15.15 MB / 0.6075 GB " [Timeout remaining time 176] 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.001973/0.001973, allocations: 67.89 kB / 1.107 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.23/1.232, allocations: 168.7 MB / 1.272 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Hunt1979Light): time 0.00292/1.235, allocations: 1.547 MB / 1.273 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001407/1.237, allocations: 0.771 MB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.207e-05/1.237, allocations: 5.062 kB / 1.274 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.833e-05/1.237, allocations: 5.25 kB / 1.274 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001001/1.237, allocations: 26.41 kB / 1.274 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000554/1.238, allocations: 121.2 kB / 1.274 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001568/1.238, allocations: 87.27 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001058/1.238, allocations: 11 kB / 1.274 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/1.238, allocations: 46.11 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.253e-05/1.238, allocations: 37.12 kB / 1.275 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.457e-05/1.238, allocations: 7.406 kB / 1.275 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002151/1.238, allocations: 104.4 kB / 1.275 GB, free: 6.133 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.835e-05/1.238, allocations: 26.36 kB / 1.275 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.381e-05/1.238, allocations: 39.56 kB / 1.275 GB, free: 6.094 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002823/1.239, allocations: 150.3 kB / 1.275 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/1.239, allocations: 1.062 kB / 1.275 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.222e-06/1.239, allocations: 0 / 1.275 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.242e-06/1.239, allocations: 0 / 1.275 GB, free: 6.047 MB / 0.9981 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.0007931/1.239, allocations: 479.4 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/1.239, allocations: 10.53 kB / 1.275 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.375e-05/1.239, allocations: 14.14 kB / 1.275 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/1.24, allocations: 182.7 kB / 1.275 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/1.24, allocations: 38.53 kB / 1.276 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.101e-05/1.24, allocations: 8.688 kB / 1.276 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/1.24, allocations: 74.89 kB / 1.276 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/1.24, allocations: 3.938 kB / 1.276 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/1.24, allocations: 4.812 kB / 1.276 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/1.24, allocations: 2.688 kB / 1.276 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002059/1.24, allocations: 51.86 kB / 1.276 GB, free: 5.258 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005586/1.241, allocations: 323.3 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000237/1.241, allocations: 63.12 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/1.241, allocations: 38.73 kB / 1.276 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.132e-05/1.241, allocations: 0.9062 kB / 1.276 GB, free: 4.902 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/1.241, allocations: 100.5 kB / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.573e-06/1.241, allocations: 0 / 1.276 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0005289/1.242, allocations: 170.9 kB / 1.276 GB, free: 4.762 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/1.242, allocations: 57.97 kB / 1.276 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001098/1.242, allocations: 136.3 kB / 1.277 GB, free: 4.578 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/1.242, allocations: 26.8 kB / 1.277 GB, free: 4.547 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.354e-05/1.242, allocations: 94.34 kB / 1.277 GB, free: 4.453 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.38e-05/1.242, allocations: 23.77 kB / 1.277 GB, free: 4.434 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.063e-05/1.242, allocations: 30.84 kB / 1.277 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.78e-05/1.242, allocations: 324.9 kB / 1.277 GB, free: 4.09 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/1.242, allocations: 35.05 kB / 1.277 GB, free: 4.078 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/1.242, allocations: 66.31 kB / 1.277 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002187/1.243, allocations: 114.4 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.243, allocations: 0.8438 kB / 1.277 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002933/1.243, allocations: 141.1 kB / 1.277 GB, free: 3.871 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/1.243, allocations: 9.469 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/1.243, allocations: 1.531 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/1.243, allocations: 2.562 kB / 1.277 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001365/1.243, allocations: 19.06 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/1.243, allocations: 2.156 kB / 1.277 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/1.243, allocations: 19.17 kB / 1.277 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.462e-05/1.243, allocations: 8.688 kB / 1.277 GB, free: 3.852 MB / 0.9981 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 8.18e-05/1.243, allocations: 127.3 kB / 1.278 GB, free: 3.727 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/1.243, allocations: 8.391 kB / 1.278 GB, free: 3.723 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/1.243, allocations: 10 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/1.243, allocations: 2.219 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/1.243, allocations: 0 / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/1.243, allocations: 2.578 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000579/1.244, allocations: 429.8 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/1.244, allocations: 4 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.519e-05/1.244, allocations: 13.75 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.244, allocations: 1 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/1.244, allocations: 8.094 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/1.244, allocations: 3.938 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/1.244, allocations: 0.8125 kB / 1.278 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003339/1.244, allocations: 233.5 kB / 1.278 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.119e-05/1.245, allocations: 87.94 kB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/1.245, allocations: 2.125 kB / 1.278 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/1.245, allocations: 13.58 kB / 1.278 GB, free: 3.066 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.779e-05/1.245, allocations: 12.69 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/1.245, allocations: 5.422 kB / 1.278 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.388e-05/1.245, allocations: 103.3 kB / 1.278 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.245, allocations: 192 / 1.278 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003463/1.245, allocations: 41.58 kB / 1.278 GB, free: 2.973 MB / 0.9981 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.0004183/1.246, allocations: 174.6 kB / 1.279 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003294/1.246, allocations: 87.52 kB / 1.279 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/1.246, allocations: 4.25 kB / 1.279 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001402/1.246, allocations: 41.39 kB / 1.279 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003389/1.246, allocations: 17.16 kB / 1.279 GB, free: 2.809 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005136/1.247, allocations: 219 kB / 1.279 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001556/1.247, allocations: 0.6982 MB / 1.28 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.13e-05/1.247, allocations: 6.172 kB / 1.28 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.083e-05/1.247, allocations: 15.59 kB / 1.28 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of SimCode: time 4.51e-07/1.247, allocations: 0 / 1.28 GB, free: 1.941 MB / 0.9981 GB Notification: Performance of Templates: time 0.006284/1.253, allocations: 1.839 MB / 1.281 GB, free: 1.773 MB / 0.9981 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 -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: 9.466098179109395]