Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001903/0.001903, 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.002182/0.002182, 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.455/1.455, allocations: 225.6 MB / 249.4 MB, free: 3.316 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.671/2.671, 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.Gunay2016Light,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.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_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 63.89 kB / 1.059 GB, free: 400 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3526, allocations: 160.7 MB / 1.216 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light): time 0.00268/0.3552, allocations: 1.536 MB / 1.218 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.3566, allocations: 0.7801 MB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.436e-05/0.3566, allocations: 0 / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.824e-05/0.3566, allocations: 3.938 kB / 1.218 GB, free: 13.02 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001002/0.3567, allocations: 27.8 kB / 1.218 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.3573, allocations: 131.6 kB / 1.219 GB, free: 12.86 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000143/0.3574, allocations: 99.64 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.134e-05/0.3575, allocations: 4 kB / 1.219 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.3576, allocations: 47.83 kB / 1.219 GB, free: 12.71 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.3577, allocations: 47.83 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.3577, allocations: 8 kB / 1.219 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002272/0.358, allocations: 107.8 kB / 1.219 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.413e-05/0.358, allocations: 23.91 kB / 1.219 GB, free: 12.53 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.397e-05/0.358, allocations: 39.86 kB / 1.219 GB, free: 12.49 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002745/0.3583, allocations: 167.3 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.3583, allocations: 7.922 kB / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3583, allocations: 0 / 1.219 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.3583, allocations: 0 / 1.219 GB, free: 12.32 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007975/0.3591, allocations: 500 kB / 1.22 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.3592, allocations: 8.031 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.742e-05/0.3592, allocations: 8.891 kB / 1.22 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.3594, allocations: 176.3 kB / 1.22 GB, free: 11.54 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.3594, allocations: 12.31 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.3595, allocations: 4.375 kB / 1.22 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002389/0.3597, allocations: 89.89 kB / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3597, allocations: 0 / 1.22 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.029e-05/0.3597, allocations: 3.984 kB / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3597, allocations: 0 / 1.22 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001571/0.3599, allocations: 47.97 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006276/0.3605, allocations: 340.6 kB / 1.22 GB, free: 10.99 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002343/0.3608, allocations: 86.69 kB / 1.22 GB, free: 10.9 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.4e-05/0.3609, allocations: 32.84 kB / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3609, allocations: 0 / 1.22 GB, free: 10.86 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002487/0.3611, allocations: 103.3 kB / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=11): time 1.593e-06/0.3611, allocations: 0 / 1.22 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0004841/0.3616, allocations: 181.5 kB / 1.221 GB, free: 10.57 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.557e-05/0.3617, allocations: 51.41 kB / 1.221 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001377/0.3618, allocations: 136.9 kB / 1.221 GB, free: 10.36 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.302e-05/0.3618, allocations: 25.7 kB / 1.221 GB, free: 10.33 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.741e-05/0.3619, allocations: 104.1 kB / 1.221 GB, free: 10.22 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.222e-05/0.3619, allocations: 23.8 kB / 1.221 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-05/0.362, allocations: 33.7 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001705/0.3622, allocations: 326.8 kB / 1.221 GB, free: 9.832 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/0.3623, allocations: 27.98 kB / 1.221 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001171/0.3624, allocations: 69.12 kB / 1.221 GB, free: 9.719 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001996/0.3626, allocations: 113 kB / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3626, allocations: 0 / 1.221 GB, free: 9.59 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002666/0.3628, allocations: 145.4 kB / 1.222 GB, free: 9.441 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.3629, allocations: 4 kB / 1.222 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3629, allocations: 4 kB / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3629, allocations: 0 / 1.222 GB, free: 9.434 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.363, allocations: 23.92 kB / 1.222 GB, free: 9.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.363, allocations: 4 kB / 1.222 GB, free: 9.406 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.48e-05/0.3631, allocations: 11.92 kB / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.643e-05/0.3631, allocations: 8 kB / 1.222 GB, free: 9.387 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,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 0.0001149/0.3632, allocations: 132 kB / 1.222 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.3633, allocations: 7.953 kB / 1.222 GB, free: 9.242 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003606/0.3636, allocations: 162.3 kB / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.3636, allocations: 0 / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.566e-06/0.3636, allocations: 0 / 1.222 GB, free: 9.078 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.3636, allocations: 3.984 kB / 1.222 GB, free: 9.074 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006446/0.3643, allocations: 450.3 kB / 1.222 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.636e-06/0.3643, allocations: 4 kB / 1.222 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.167e-05/0.3644, allocations: 15.92 kB / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3644, allocations: 0 / 1.222 GB, free: 8.559 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/0.3644, allocations: 4 kB / 1.222 GB, free: 8.555 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.37e-06/0.3644, allocations: 7.938 kB / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3644, allocations: 0 / 1.222 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003318/0.3647, allocations: 243.4 kB / 1.223 GB, free: 8.293 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.2e-05/0.3648, allocations: 92.98 kB / 1.223 GB, free: 8.184 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.3648, allocations: 7.938 kB / 1.223 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.3649, allocations: 8 kB / 1.223 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.099e-05/0.365, allocations: 11.97 kB / 1.223 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/0.365, allocations: 8 kB / 1.223 GB, free: 8.148 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.131e-05/0.3651, allocations: 101.2 kB / 1.223 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3651, allocations: 3.938 kB / 1.223 GB, free: 8.047 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003332/0.3654, allocations: 47.92 kB / 1.223 GB, free: 8 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 (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.0003836/0.3658, allocations: 168.7 kB / 1.223 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002863/0.3661, allocations: 87.89 kB / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3661, allocations: 0 / 1.223 GB, free: 7.758 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.3662, allocations: 44.11 kB / 1.223 GB, free: 7.715 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003022/0.3665, allocations: 26.05 kB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005142/0.367, allocations: 235.7 kB / 1.223 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3673, allocations: 0.6924 MB / 1.224 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.28e-05/0.3674, allocations: 16.42 kB / 1.224 GB, free: 6.695 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.059e-05/0.3674, allocations: 11.44 kB / 1.224 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of SimCode: time 2.91e-07/0.3674, allocations: 0 / 1.224 GB, free: 6.684 MB / 0.9669 GB Notification: Performance of Templates: time 0.005476/0.3729, allocations: 2.001 MB / 1.226 GB, free: 4.695 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.sim & ./Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Lighting.Validation.Gunay2016Light_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Lighting_Validation_Gunay2016Light.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 8.345936386846006]