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.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.001659/0.001659, allocations: 113.9 kB / 17.61 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.001686/0.001686, allocations: 185.9 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.52/1.52, allocations: 225.6 MB / 249.4 MB, free: 3.289 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.784/2.784, allocations: 476.7 MB / 0.7628 GB, free: 15.12 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.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: Performance of FrontEnd - loaded program: time 0.002483/0.002483, allocations: 67.89 kB / 1.107 GB, free: 4.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271/1.274, allocations: 168.7 MB / 1.272 GB, free: 7.902 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.002936/1.277, allocations: 1.522 MB / 1.273 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001396/1.278, allocations: 0.7424 MB / 1.274 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.673e-05/1.278, allocations: 4.875 kB / 1.274 GB, free: 6.359 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.31e-05/1.278, allocations: 7.875 kB / 1.274 GB, free: 6.352 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.347e-05/1.278, allocations: 15.2 kB / 1.274 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005947/1.279, allocations: 121 kB / 1.274 GB, free: 6.281 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/1.279, allocations: 80.69 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001088/1.279, allocations: 7.531 kB / 1.274 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000104/1.279, allocations: 34.94 kB / 1.274 GB, free: 6.227 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.22e-05/1.279, allocations: 43.03 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.292e-05/1.279, allocations: 6.219 kB / 1.274 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/1.28, allocations: 106.2 kB / 1.275 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/1.28, allocations: 14.31 kB / 1.275 GB, free: 6.164 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.544e-05/1.28, allocations: 35.89 kB / 1.275 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003006/1.28, allocations: 140.9 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.389e-06/1.28, allocations: 0 / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/1.28, allocations: 0 / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.574e-06/1.28, allocations: 1.094 kB / 1.275 GB, free: 6.102 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006484/1.281, allocations: 416.9 kB / 1.275 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.351e-05/1.281, allocations: 14.41 kB / 1.275 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.701e-05/1.281, allocations: 12.48 kB / 1.275 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.771e-05/1.281, allocations: 170.3 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.907e-05/1.281, allocations: 6.188 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.373e-05/1.281, allocations: 8.156 kB / 1.275 GB, free: 5.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002008/1.281, allocations: 75.69 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/1.281, allocations: 0 / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/1.281, allocations: 0.6562 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/1.281, allocations: 1.719 kB / 1.275 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/1.281, allocations: 40.08 kB / 1.275 GB, free: 5.406 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000784/1.282, allocations: 313.3 kB / 1.276 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/1.282, allocations: 47.72 kB / 1.276 GB, free: 5.078 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.201e-05/1.282, allocations: 25.05 kB / 1.276 GB, free: 5.066 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.269e-05/1.282, allocations: 14.14 kB / 1.276 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002411/1.283, allocations: 76.81 kB / 1.276 GB, free: 4.996 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/1.283, allocations: 3.938 kB / 1.276 GB, free: 4.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004344/1.283, allocations: 145.5 kB / 1.276 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/1.283, allocations: 54.17 kB / 1.276 GB, free: 4.859 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/1.283, allocations: 128.5 kB / 1.276 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.478e-05/1.283, allocations: 26.61 kB / 1.276 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/1.283, allocations: 92.88 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.823e-05/1.283, allocations: 10.97 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/1.283, allocations: 29.12 kB / 1.276 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.564e-05/1.283, allocations: 324.3 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.702e-05/1.283, allocations: 23.31 kB / 1.277 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/1.284, allocations: 64.16 kB / 1.277 GB, free: 4.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/1.284, allocations: 69.59 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/1.284, allocations: 0.6562 kB / 1.277 GB, free: 4.18 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002325/1.284, allocations: 113.1 kB / 1.277 GB, free: 4.121 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/1.284, allocations: 10.22 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/1.284, allocations: 1.219 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.284, allocations: 0.9062 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/1.284, allocations: 12.27 kB / 1.277 GB, free: 4.117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/1.284, allocations: 4.875 kB / 1.277 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.756e-05/1.284, allocations: 13.28 kB / 1.277 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/1.284, allocations: 4.594 kB / 1.277 GB, free: 4.105 MB / 0.9981 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 7.518e-05/1.284, allocations: 128.9 kB / 1.277 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/1.284, allocations: 6.828 kB / 1.277 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.1e-05/1.284, allocations: 9.656 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/1.284, allocations: 0.9062 kB / 1.277 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.284, allocations: 4.688 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.284, allocations: 2.266 kB / 1.277 GB, free: 3.953 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004313/1.285, allocations: 381.9 kB / 1.278 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.285, allocations: 0 / 1.278 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.932e-05/1.285, allocations: 5.266 kB / 1.278 GB, free: 3.613 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.285, allocations: 5.156 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/1.285, allocations: 1.406 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/1.285, allocations: 0.6562 kB / 1.278 GB, free: 3.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.285, allocations: 5.984 kB / 1.278 GB, free: 3.605 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002652/1.285, allocations: 207.1 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.185e-05/1.285, allocations: 78.95 kB / 1.278 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/1.285, allocations: 7.234 kB / 1.278 GB, free: 3.352 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.409e-05/1.285, allocations: 7.359 kB / 1.278 GB, free: 3.348 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.292e-05/1.285, allocations: 8.844 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/1.285, allocations: 3.906 kB / 1.278 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.836e-05/1.285, allocations: 96.89 kB / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.285, allocations: 0 / 1.278 GB, free: 3.262 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003287/1.286, allocations: 37.47 kB / 1.278 GB, free: 3.254 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: 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.000394/1.286, allocations: 171.9 kB / 1.278 GB, free: 3.137 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002601/1.286, allocations: 66.41 kB / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/1.286, allocations: 0 / 1.278 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.811e-05/1.286, allocations: 31.5 kB / 1.278 GB, free: 3.113 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/1.287, allocations: 17.39 kB / 1.278 GB, free: 3.102 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004378/1.287, allocations: 201.1 kB / 1.278 GB, free: 2.941 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/1.287, allocations: 0.6937 MB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.568e-05/1.287, allocations: 3.625 kB / 1.279 GB, free: 2.242 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.882e-05/1.287, allocations: 9.938 kB / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of SimCode: time 9.12e-07/1.287, allocations: 0.75 kB / 1.279 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of Templates: time 0.005257/1.293, allocations: 1.469 MB / 1.281 GB, free: 2.082 MB / 0.9981 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.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.625161561183631]