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.001802/0.001802, allocations: 85.19 kB / 19.18 MB, free: 2.504 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.002225/0.002225, allocations: 169.4 kB / 22.46 MB, free: 5.379 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.611/1.611, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.893/2.893, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 0.951 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.78e-05, allocations: 2.281 kB / 0.951 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth): time 0.002811/0.002839, allocations: 1.512 MB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001578/0.004417, allocations: 0.7756 MB / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.004474, allocations: 0 / 0.9532 GB, free: 9.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.004504, allocations: 3.938 kB / 0.9532 GB, free: 9.258 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.01e-05/0.004564, allocations: 11.88 kB / 0.9532 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006404/0.005204, allocations: 147.3 kB / 0.9533 GB, free: 9.102 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001377/0.005342, allocations: 79.77 kB / 0.9534 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 9.277e-05/0.005435, allocations: 12.16 kB / 0.9534 GB, free: 9.012 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001664/0.005601, allocations: 59.83 kB / 0.9535 GB, free: 8.953 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.364e-05/0.005675, allocations: 31.89 kB / 0.9535 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.005697, allocations: 4 kB / 0.9535 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002926/0.00599, allocations: 135.7 kB / 0.9537 GB, free: 8.785 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.715e-05/0.006017, allocations: 15.97 kB / 0.9537 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.769e-05/0.006065, allocations: 23.92 kB / 0.9537 GB, free: 8.746 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.006353, allocations: 171.4 kB / 0.9539 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.006356, allocations: 0 / 0.9539 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of FrontEnd: time 9.51e-07/0.006357, allocations: 0 / 0.9539 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.006362, allocations: 0 / 0.9539 GB, free: 8.578 MB / 0.8575 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.0006445/0.007006, allocations: 355.6 kB / 0.9542 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.007044, allocations: 12.02 kB / 0.9542 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003432/0.007387, allocations: 28.88 kB / 0.9542 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.00762, allocations: 137.6 kB / 0.9544 GB, free: 7.996 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.007644, allocations: 4.312 kB / 0.9544 GB, free: 7.992 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.894e-05/0.007663, allocations: 8.375 kB / 0.9544 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.007862, allocations: 70.16 kB / 0.9544 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.007873, allocations: 192 / 0.9544 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.007886, allocations: 8.125 kB / 0.9544 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.007891, allocations: 0 / 0.9544 GB, free: 7.902 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001473/0.008038, allocations: 35.97 kB / 0.9545 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005544/0.008593, allocations: 248.5 kB / 0.9547 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001407/0.008733, allocations: 50.48 kB / 0.9548 GB, free: 7.535 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.797e-05/0.008821, allocations: 28.97 kB / 0.9548 GB, free: 7.504 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.008844, allocations: 7.938 kB / 0.9548 GB, free: 7.496 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001662/0.00901, allocations: 75.38 kB / 0.9549 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.613e-06/0.009012, allocations: 0 / 0.9549 GB, free: 7.41 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000432/0.009444, allocations: 141.7 kB / 0.955 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.989e-05/0.009494, allocations: 59.34 kB / 0.9551 GB, free: 7.195 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.009621, allocations: 131.1 kB / 0.9552 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.009643, allocations: 25.7 kB / 0.9552 GB, free: 7.023 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.009707, allocations: 88.14 kB / 0.9553 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.573e-05/0.009732, allocations: 23.83 kB / 0.9553 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.518e-05/0.009787, allocations: 29.72 kB / 0.9554 GB, free: 6.875 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001455/0.009933, allocations: 318.8 kB / 0.9557 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.632e-05/0.01002, allocations: 23.98 kB / 0.9557 GB, free: 6.531 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.01013, allocations: 50.48 kB / 0.9557 GB, free: 6.473 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001808/0.01031, allocations: 78.8 kB / 0.9558 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.01031, allocations: 0 / 0.9558 GB, free: 6.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002642/0.01057, allocations: 121.5 kB / 0.9559 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.01059, allocations: 8 kB / 0.9559 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.0106, allocations: 0 / 0.9559 GB, free: 6.254 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.01061, allocations: 3.938 kB / 0.9559 GB, free: 6.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.01072, allocations: 11.98 kB / 0.9559 GB, free: 6.238 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.01073, allocations: 4 kB / 0.9559 GB, free: 6.234 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.031e-05/0.0108, allocations: 11.98 kB / 0.956 GB, free: 6.223 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.431e-05/0.01081, allocations: 4 kB / 0.956 GB, free: 6.219 MB / 0.8575 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.0001022/0.01091, allocations: 125 kB / 0.9561 GB, free: 6.09 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.057e-05/0.01093, allocations: 11.89 kB / 0.9561 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.874e-05/0.01096, allocations: 8.438 kB / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.01096, allocations: 0 / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01097, allocations: 0 / 0.9561 GB, free: 6.07 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-06/0.01097, allocations: 7.984 kB / 0.9561 GB, free: 6.062 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004633/0.01144, allocations: 318.1 kB / 0.9564 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01144, allocations: 0 / 0.9564 GB, free: 5.715 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.27e-05/0.01148, allocations: 7.938 kB / 0.9564 GB, free: 5.707 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01148, allocations: 4 kB / 0.9564 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.0115, allocations: 8 kB / 0.9564 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.0115, allocations: 0 / 0.9564 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.0115, allocations: 3.984 kB / 0.9564 GB, free: 5.691 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003293/0.01183, allocations: 215.4 kB / 0.9566 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.01185, allocations: 11.89 kB / 0.9566 GB, free: 5.453 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.01187, allocations: 3.984 kB / 0.9567 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.307e-05/0.01196, allocations: 11.92 kB / 0.9567 GB, free: 5.438 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.956e-05/0.012, allocations: 8 kB / 0.9567 GB, free: 5.43 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.01201, allocations: 3.984 kB / 0.9567 GB, free: 5.426 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.145e-05/0.01207, allocations: 99.27 kB / 0.9568 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of sort global known variables: time 8e-08/0.01207, allocations: 0 / 0.9568 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000318/0.01239, allocations: 35.94 kB / 0.9568 GB, free: 5.293 MB / 0.8575 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.0004105/0.0128, allocations: 163.2 kB / 0.957 GB, free: 5.137 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.01306, allocations: 68.25 kB / 0.957 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.01307, allocations: 0 / 0.957 GB, free: 5.07 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000103/0.01317, allocations: 32.08 kB / 0.9571 GB, free: 5.039 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.01344, allocations: 20.06 kB / 0.9571 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.01387, allocations: 169.6 kB / 0.9572 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.211e-05/0.01394, allocations: 71.33 kB / 0.9573 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.444e-05/0.01398, allocations: 8.062 kB / 0.9573 GB, free: 4.73 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.01401, allocations: 16.48 kB / 0.9573 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of SimCode: time 4.81e-07/0.01401, allocations: 0 / 0.9573 GB, free: 4.715 MB / 0.8575 GB Notification: Performance of Templates: time 0.004884/0.0189, allocations: 1.499 MB / 0.9588 GB, free: 3.242 MB / 0.8575 GB " [Timeout remaining time 300] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.344793576747179]