Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.001673/0.001673, 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.001933/0.001933, allocations: 214.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.576/1.576, allocations: 230.6 MB / 256 MB, free: 7.812 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.833/2.833, allocations: 476 MB / 0.7699 GB, free: 4.82 MB / 0.6231 GB " [Timeout remaining time 177] 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.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth,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.Zhang2012WindowsNorth") [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.002193/0.002193, allocations: 70.53 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4104/0.4126, allocations: 170 MB / 1.283 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.003584/0.4162, allocations: 1.511 MB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.4181, allocations: 0.7497 MB / 1.285 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.932e-05/0.4181, allocations: 4 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.572e-05/0.4182, allocations: 11.86 kB / 1.285 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.796e-05/0.4183, allocations: 11.86 kB / 1.285 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000747/0.419, allocations: 139.6 kB / 1.285 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001511/0.4192, allocations: 83.7 kB / 1.285 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.4193, allocations: 12.11 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.4194, allocations: 39.91 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.4195, allocations: 39.83 kB / 1.286 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.185e-05/0.4195, allocations: 12 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003117/0.4198, allocations: 135.7 kB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/0.4199, allocations: 19.92 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.4199, allocations: 27.91 kB / 1.286 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.4202, allocations: 151.5 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.4202, allocations: 0 / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.154e-06/0.4202, allocations: 0 / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.562e-06/0.4202, allocations: 0 / 1.286 GB, free: 9.07 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.0006982/0.4209, allocations: 351.5 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.421, allocations: 16.03 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/0.4213, allocations: 20.92 kB / 1.286 GB, free: 8.656 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.4216, allocations: 142.3 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.031e-05/0.4216, allocations: 12.38 kB / 1.286 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/0.4216, allocations: 4.375 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.4218, allocations: 65.78 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4218, allocations: 4 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.4218, allocations: 4 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.4218, allocations: 0 / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001355/0.422, allocations: 43.91 kB / 1.287 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005888/0.4226, allocations: 240.5 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.4227, allocations: 46.55 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.684e-05/0.4228, allocations: 32.97 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/0.4228, allocations: 0 / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001657/0.423, allocations: 87.31 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.273e-06/0.423, allocations: 0 / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004205/0.4234, allocations: 145.9 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.269e-05/0.4235, allocations: 51.41 kB / 1.287 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001259/0.4236, allocations: 124.2 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.362e-05/0.4236, allocations: 33.64 kB / 1.287 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.4237, allocations: 92.09 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.4237, allocations: 23.83 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.088e-05/0.4238, allocations: 21.72 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4239, allocations: 334.7 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.614e-05/0.424, allocations: 27.98 kB / 1.288 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.4241, allocations: 50.48 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.4243, allocations: 70.55 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4243, allocations: 0 / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002492/0.4245, allocations: 117.6 kB / 1.288 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.51e-05/0.4245, allocations: 4 kB / 1.288 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.4245, allocations: 4 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.4246, allocations: 3.984 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.4247, allocations: 11.94 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4247, allocations: 0 / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.721e-05/0.4247, allocations: 7.984 kB / 1.288 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.517e-05/0.4247, allocations: 4 kB / 1.288 GB, free: 6.719 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.00011/0.4249, allocations: 121.8 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.85e-05/0.4249, allocations: 11.98 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.4249, allocations: 8.375 kB / 1.288 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.4249, allocations: 3.984 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.4249, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.4249, allocations: 0 / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004575/0.4254, allocations: 322.1 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.4254, allocations: 0 / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.182e-05/0.4254, allocations: 8 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.4254, allocations: 3.984 kB / 1.288 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.4254, allocations: 7.922 kB / 1.288 GB, free: 6.191 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.4254, allocations: 4 kB / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.4254, allocations: 0 / 1.288 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.4258, allocations: 227.3 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.552e-05/0.4258, allocations: 11.89 kB / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.856e-05/0.4258, allocations: 0 / 1.289 GB, free: 5.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.038e-05/0.4259, allocations: 7.984 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.991e-05/0.4259, allocations: 3.984 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.4259, allocations: 7.938 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.236e-05/0.426, allocations: 96.64 kB / 1.289 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.426, allocations: 4 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003081/0.4263, allocations: 35.94 kB / 1.289 GB, free: 5.785 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.000422/0.4267, allocations: 163.1 kB / 1.289 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002618/0.427, allocations: 75.88 kB / 1.289 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.427, allocations: 4.125 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.836e-05/0.4271, allocations: 27.98 kB / 1.289 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000279/0.4274, allocations: 11.98 kB / 1.289 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.4278, allocations: 192.7 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.557e-05/0.4279, allocations: 75.27 kB / 1.289 GB, free: 5.211 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.081e-05/0.4279, allocations: 7.938 kB / 1.289 GB, free: 5.203 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.428, allocations: 19.42 kB / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.428, allocations: 0 / 1.289 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of Templates: time 0.005129/0.4331, allocations: 1.513 MB / 1.291 GB, free: 3.688 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsNorth.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.570339947938919]