Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.001402/0.001402, 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.00131/0.00131, 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.148 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.809/2.809, allocations: 476.7 MB / 0.7628 GB, free: 15.21 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.Gunay2016Light,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.Gunay2016Light") translateModel(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light,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.Gunay2016Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 67.89 kB / 1.107 GB, free: 4.652 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.147/1.149, allocations: 168.7 MB / 1.272 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.002715/1.152, allocations: 1.554 MB / 1.273 GB, free: 6.863 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001342/1.153, allocations: 0.7642 MB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/1.153, allocations: 0.8125 kB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.747e-05/1.153, allocations: 9.609 kB / 1.274 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/1.154, allocations: 16.66 kB / 1.274 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006216/1.154, allocations: 128.3 kB / 1.274 GB, free: 6.27 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001907/1.154, allocations: 100.5 kB / 1.274 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000111/1.154, allocations: 14.25 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/1.155, allocations: 44.11 kB / 1.274 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.487e-05/1.155, allocations: 55.91 kB / 1.275 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/1.155, allocations: 7.75 kB / 1.275 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002353/1.155, allocations: 101 kB / 1.275 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.8e-05/1.155, allocations: 23.16 kB / 1.275 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 6.722e-05/1.155, allocations: 40.56 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003577/1.155, allocations: 160.6 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/1.155, allocations: 0 / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.044e-06/1.155, allocations: 0 / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.063e-06/1.155, allocations: 5 kB / 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0008149/1.156, allocations: 0.4948 MB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.053e-05/1.156, allocations: 9.719 kB / 1.275 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.651e-05/1.156, allocations: 9.484 kB / 1.275 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/1.156, allocations: 178 kB / 1.276 GB, free: 5.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/1.156, allocations: 7.188 kB / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/1.157, allocations: 4.406 kB / 1.276 GB, free: 5.336 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/1.157, allocations: 86.91 kB / 1.276 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.211e-05/1.157, allocations: 1.406 kB / 1.276 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/1.157, allocations: 5.875 kB / 1.276 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/1.157, allocations: 1.531 kB / 1.276 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001729/1.157, allocations: 47.77 kB / 1.276 GB, free: 5.266 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006156/1.158, allocations: 337.7 kB / 1.276 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/1.158, allocations: 79.58 kB / 1.276 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/1.158, allocations: 34.94 kB / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.202e-05/1.158, allocations: 0.9062 kB / 1.276 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002963/1.158, allocations: 100.8 kB / 1.276 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.964e-06/1.158, allocations: 0 / 1.276 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0005194/1.159, allocations: 175.2 kB / 1.276 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.844e-05/1.159, allocations: 58.22 kB / 1.276 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.159, allocations: 137.8 kB / 1.277 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/1.159, allocations: 31.83 kB / 1.277 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.628e-05/1.159, allocations: 88.03 kB / 1.277 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/1.159, allocations: 36.39 kB / 1.277 GB, free: 4.418 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.362e-05/1.159, allocations: 34.17 kB / 1.277 GB, free: 4.391 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.912e-05/1.159, allocations: 324.2 kB / 1.277 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.111e-05/1.159, allocations: 33.41 kB / 1.277 GB, free: 4.059 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.506e-05/1.159, allocations: 72.22 kB / 1.277 GB, free: 3.996 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001718/1.159, allocations: 107.5 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.159, allocations: 0.9688 kB / 1.277 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002432/1.16, allocations: 139.5 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/1.16, allocations: 8.125 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/1.16, allocations: 1.344 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.985e-05/1.16, allocations: 2.062 kB / 1.277 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/1.16, allocations: 19.42 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.866e-06/1.16, allocations: 2.656 kB / 1.277 GB, free: 3.844 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.818e-05/1.16, allocations: 23 kB / 1.277 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.497e-05/1.16, allocations: 8.625 kB / 1.277 GB, free: 3.828 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,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.449e-05/1.16, allocations: 120.2 kB / 1.278 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.524e-05/1.16, allocations: 17.33 kB / 1.278 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003489/1.16, allocations: 167.4 kB / 1.278 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/1.16, allocations: 1.656 kB / 1.278 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.16, allocations: 4.875 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.838e-06/1.16, allocations: 1.594 kB / 1.278 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005432/1.161, allocations: 444.5 kB / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/1.161, allocations: 0 / 1.278 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.828e-05/1.161, allocations: 16.11 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.157e-06/1.161, allocations: 1.375 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/1.161, allocations: 2.578 kB / 1.278 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/1.161, allocations: 4.719 kB / 1.278 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/1.161, allocations: 5.547 kB / 1.278 GB, free: 3.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003301/1.161, allocations: 246.1 kB / 1.278 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.601e-05/1.161, allocations: 85.95 kB / 1.279 GB, free: 2.961 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.77e-05/1.161, allocations: 9.094 kB / 1.279 GB, free: 2.953 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/1.162, allocations: 13.66 kB / 1.279 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.932e-05/1.162, allocations: 8.078 kB / 1.279 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.336e-05/1.162, allocations: 4.578 kB / 1.279 GB, free: 2.949 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.261e-05/1.162, allocations: 109.7 kB / 1.279 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.162, allocations: 0 / 1.279 GB, free: 2.863 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003678/1.162, allocations: 41.09 kB / 1.279 GB, free: 2.855 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 (booleanPulse.y,lig.sampleTrigger,$whenCondition3,$whenCondition2,$whenCondition1,lig.on,lig.curSeed,booleanPulse.pulseStart) * Number of discrete states: 1 (lig.on) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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.0004298/1.163, allocations: 169 kB / 1.279 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002947/1.163, allocations: 93.14 kB / 1.279 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/1.163, allocations: 1.062 kB / 1.279 GB, free: 2.715 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/1.163, allocations: 46.77 kB / 1.279 GB, free: 2.699 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/1.163, allocations: 19.59 kB / 1.279 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000456/1.164, allocations: 242.1 kB / 1.279 GB, free: 2.512 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001336/1.164, allocations: 0.702 MB / 1.28 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.768e-05/1.164, allocations: 12.48 kB / 1.28 GB, free: 1.809 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.857e-05/1.164, allocations: 16.3 kB / 1.28 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of SimCode: time 4.11e-07/1.164, allocations: 0 / 1.28 GB, free: 1.801 MB / 0.9981 GB Notification: Performance of Templates: time 0.005899/1.17, allocations: 1.989 MB / 1.282 GB, free: 1.613 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.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.392367755062878]