Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.001375/0.001375, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.001448/0.001448, allocations: 186 kB / 20.78 MB, free: 1.547 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.457/1.457, allocations: 225.6 MB / 249.4 MB, free: 3.301 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.779/2.779, allocations: 476.7 MB / 0.7628 GB, free: 15.34 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.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") translateModel(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lig.ill|lig.occ|lig.p|lig.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 1.107 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.226/1.228, allocations: 168.7 MB / 1.272 GB, free: 7.941 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Love1998Light1): time 0.00298/1.231, allocations: 1.531 MB / 1.273 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001445/1.233, allocations: 0.775 MB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.131e-05/1.233, allocations: 0.9375 kB / 1.274 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.894e-05/1.233, allocations: 9.422 kB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/1.233, allocations: 19.52 kB / 1.274 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005812/1.234, allocations: 124 kB / 1.274 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/1.234, allocations: 81.14 kB / 1.274 GB, free: 6.254 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/1.234, allocations: 8.344 kB / 1.274 GB, free: 6.25 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/1.234, allocations: 45.12 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.295e-05/1.234, allocations: 40.78 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.249e-05/1.234, allocations: 6.969 kB / 1.275 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/1.234, allocations: 111.3 kB / 1.275 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.636e-05/1.234, allocations: 14.62 kB / 1.275 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/1.234, allocations: 36.67 kB / 1.275 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002512/1.235, allocations: 146.3 kB / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/1.235, allocations: 0 / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/1.235, allocations: 0.9688 kB / 1.275 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.189e-05/1.235, allocations: 0 / 1.275 GB, free: 6.098 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.000678/1.235, allocations: 470.5 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/1.235, allocations: 10 kB / 1.275 GB, free: 5.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.911e-05/1.235, allocations: 10.75 kB / 1.275 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/1.235, allocations: 184.6 kB / 1.275 GB, free: 5.414 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/1.236, allocations: 7.641 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.841e-05/1.236, allocations: 4.469 kB / 1.275 GB, free: 5.41 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/1.236, allocations: 76.33 kB / 1.276 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/1.236, allocations: 0.8125 kB / 1.276 GB, free: 5.363 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/1.236, allocations: 6.469 kB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/1.236, allocations: 0.6562 kB / 1.276 GB, free: 5.359 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/1.236, allocations: 42.61 kB / 1.276 GB, free: 5.348 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004868/1.236, allocations: 314 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/1.237, allocations: 55.94 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.521e-05/1.237, allocations: 35 kB / 1.276 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.675e-05/1.237, allocations: 2.109 kB / 1.276 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000225/1.237, allocations: 93.25 kB / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.463e-06/1.237, allocations: 0 / 1.276 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.0004188/1.237, allocations: 157.4 kB / 1.276 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/1.237, allocations: 57.55 kB / 1.276 GB, free: 4.801 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/1.237, allocations: 137.7 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.363e-05/1.237, allocations: 27.77 kB / 1.276 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.985e-05/1.237, allocations: 92.45 kB / 1.277 GB, free: 4.559 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/1.237, allocations: 25.62 kB / 1.277 GB, free: 4.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.43e-05/1.238, allocations: 31.98 kB / 1.277 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.704e-05/1.238, allocations: 323.8 kB / 1.277 GB, free: 4.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.82e-05/1.238, allocations: 28.06 kB / 1.277 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.784e-05/1.238, allocations: 74.94 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/1.238, allocations: 104 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/1.238, allocations: 0.7812 kB / 1.277 GB, free: 4.043 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002506/1.238, allocations: 130.1 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.238, allocations: 8.25 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/1.238, allocations: 2 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/1.238, allocations: 5.406 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/1.238, allocations: 14.17 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/1.238, allocations: 7.141 kB / 1.277 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.883e-05/1.238, allocations: 17.14 kB / 1.277 GB, free: 3.961 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.719e-05/1.238, allocations: 10.69 kB / 1.277 GB, free: 3.957 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 7.554e-05/1.239, allocations: 133.6 kB / 1.277 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.926e-05/1.239, allocations: 8.078 kB / 1.277 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003236/1.239, allocations: 146.8 kB / 1.278 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/1.239, allocations: 1.688 kB / 1.278 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/1.239, allocations: 4 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.239, allocations: 2.391 kB / 1.278 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005268/1.239, allocations: 432.2 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/1.239, allocations: 0 / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.652e-05/1.239, allocations: 12.61 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.434e-06/1.239, allocations: 1.062 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/1.239, allocations: 0.9062 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/1.239, allocations: 0.9688 kB / 1.278 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.239, allocations: 7.938 kB / 1.278 GB, free: 3.375 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/1.24, allocations: 222.5 kB / 1.278 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/1.24, allocations: 84.28 kB / 1.278 GB, free: 3.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/1.24, allocations: 5.734 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/1.24, allocations: 8.047 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/1.24, allocations: 21.03 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/1.24, allocations: 4.484 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.274e-05/1.24, allocations: 104.8 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.24, allocations: 0.6875 kB / 1.278 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003571/1.24, allocations: 43.47 kB / 1.278 GB, free: 3.004 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 (12): * Single equations (assignments): 9 * 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.0003915/1.241, allocations: 169.2 kB / 1.279 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002697/1.241, allocations: 83.66 kB / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/1.241, allocations: 0 / 1.279 GB, free: 2.867 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001149/1.241, allocations: 47.92 kB / 1.279 GB, free: 2.852 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/1.241, allocations: 16.36 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/1.242, allocations: 219.1 kB / 1.279 GB, free: 2.684 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/1.242, allocations: 0.697 MB / 1.28 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.689e-05/1.242, allocations: 9.719 kB / 1.28 GB, free: 1.984 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/1.242, allocations: 15.42 kB / 1.28 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of SimCode: time 5.81e-07/1.242, allocations: 0 / 1.28 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of Templates: time 0.006167/1.248, allocations: 1.83 MB / 1.281 GB, free: 1.801 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Love1998Light1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Love1998Light1.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.415052530355752]