Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001676/0.001676, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001982/0.001982, allocations: 213.8 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.559/1.559, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.937/2.937, allocations: 476 MB / 0.7699 GB, free: 4.773 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|win.TOut|win.occ|win.p|win.on",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 73.7 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3557/0.3578, allocations: 169.9 MB / 1.283 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00319/0.361, allocations: 1.526 MB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.3626, allocations: 0.7535 MB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.3627, allocations: 8 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.689e-05/0.3627, allocations: 7.875 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.513e-05/0.3628, allocations: 7.922 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006822/0.3635, allocations: 147.5 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000147/0.3636, allocations: 71.78 kB / 1.285 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.3637, allocations: 20.09 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001455/0.3639, allocations: 35.92 kB / 1.286 GB, free: 9.395 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.589e-05/0.3639, allocations: 39.81 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.364, allocations: 8 kB / 1.286 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003309/0.3643, allocations: 139.8 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.452e-05/0.3643, allocations: 19.92 kB / 1.286 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.193e-05/0.3644, allocations: 31.84 kB / 1.286 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.3647, allocations: 143.5 kB / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3647, allocations: 0 / 1.286 GB, free: 9.02 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.373e-06/0.3647, allocations: 3.938 kB / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.809e-06/0.3647, allocations: 0 / 1.286 GB, free: 9.016 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006757/0.3654, allocations: 351.5 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3654, allocations: 12.03 kB / 1.286 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003355/0.3658, allocations: 24.92 kB / 1.286 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.366, allocations: 146.3 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.98e-05/0.366, allocations: 4.375 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.479e-05/0.3661, allocations: 8.375 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000197/0.3663, allocations: 69.78 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3663, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.3663, allocations: 0 / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3663, allocations: 3.938 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001423/0.3664, allocations: 39.97 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000586/0.367, allocations: 252.4 kB / 1.287 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.3672, allocations: 42.56 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.792e-05/0.3672, allocations: 32.97 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3673, allocations: 0 / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.3674, allocations: 75.38 kB / 1.287 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3674, allocations: 4 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004282/0.3679, allocations: 149.6 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.3679, allocations: 51.41 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.368, allocations: 128.2 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.3681, allocations: 29.7 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.372e-05/0.3681, allocations: 92.08 kB / 1.287 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.3681, allocations: 19.84 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.3682, allocations: 29.7 kB / 1.287 GB, free: 7.316 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.3684, allocations: 322.8 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.014e-05/0.3685, allocations: 31.97 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.901e-05/0.3686, allocations: 42.56 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.3688, allocations: 74.48 kB / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3688, allocations: 0 / 1.288 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002587/0.369, allocations: 117.5 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.369, allocations: 8.062 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.369, allocations: 4 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.3691, allocations: 0 / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.524e-05/0.3691, allocations: 11.94 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3692, allocations: 3.984 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.007e-05/0.3692, allocations: 8 kB / 1.288 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.3692, allocations: 4.391 kB / 1.288 GB, free: 6.668 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (win.occ,win.curSeed,$PRE.win.curSeed,win.p,$PRE.win.p,win.on,$PRE.win.on,win.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.000114/0.3694, allocations: 125.7 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.3694, allocations: 3.953 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.653e-05/0.3694, allocations: 20.36 kB / 1.288 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.3694, allocations: 3.938 kB / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.3694, allocations: 0 / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3694, allocations: 0 / 1.288 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00049/0.3699, allocations: 330.1 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3699, allocations: 0 / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.358e-05/0.3699, allocations: 4 kB / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.37, allocations: 0 / 1.288 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.37, allocations: 3.984 kB / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.37, allocations: 0 / 1.288 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.37, allocations: 8 kB / 1.288 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003224/0.3703, allocations: 219.3 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.3703, allocations: 11.89 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.15e-05/0.3703, allocations: 3.984 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.495e-05/0.3704, allocations: 8 kB / 1.289 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.3705, allocations: 3.984 kB / 1.289 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.3705, allocations: 7.938 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.557e-05/0.3705, allocations: 92.64 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3705, allocations: 0 / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003231/0.3709, allocations: 43.92 kB / 1.289 GB, free: 5.73 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (win.sampleTrigger,$whenCondition1,win.occ,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0004062/0.3713, allocations: 168.4 kB / 1.289 GB, free: 5.578 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.3715, allocations: 63.91 kB / 1.289 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3715, allocations: 4 kB / 1.289 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.3716, allocations: 36.05 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002792/0.3719, allocations: 11.98 kB / 1.289 GB, free: 5.465 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.3724, allocations: 188.7 kB / 1.289 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.059e-05/0.3725, allocations: 79.25 kB / 1.289 GB, free: 5.156 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.352e-05/0.3725, allocations: 11.92 kB / 1.289 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.188e-05/0.3726, allocations: 11.44 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/0.3726, allocations: 4 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of Templates: time 0.004979/0.3775, allocations: 1.502 MB / 1.291 GB, free: 3.641 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsEast.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,win.TOut,win.occ,win.p,win.on Variables in the result:TOut.amplitude,TOut.continuous,TOut.f,TOut.offset,TOut.phase,TOut.startTime,occ.startTime,occ.startValue,time,win.A,win.B,win.TOut,win.occ,win.on,win.p,win.samplePeriod,win.seed,win.t0 [Calling sys.exit(0), Time elapsed: 9.402613259851933]