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.001426/0.001426, allocations: 79.28 kB / 19.18 MB, free: 2.516 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.001747/0.001747, allocations: 164.1 kB / 22.46 MB, free: 5.375 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.474/1.474, allocations: 177.1 MB / 202.8 MB, free: 9.164 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.803/2.803, allocations: 359 MB / 0.6037 GB, free: 15.01 MB / 0.5762 GB " [Timeout remaining time 177] 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.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 1.733e-06/1.733e-06, allocations: 0 / 0.9509 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.691e-05/2.864e-05, allocations: 2.281 kB / 0.9509 GB, free: 11.65 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.003471/0.0035, allocations: 1.518 MB / 0.9524 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001741/0.005241, allocations: 0.7639 MB / 0.9532 GB, free: 9.34 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.478e-05/0.005295, allocations: 8 kB / 0.9532 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.005333, allocations: 3.938 kB / 0.9532 GB, free: 9.328 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.894e-05/0.005392, allocations: 7.875 kB / 0.9532 GB, free: 9.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006861/0.006078, allocations: 151.3 kB / 0.9533 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001491/0.006227, allocations: 75.77 kB / 0.9534 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.006335, allocations: 12.17 kB / 0.9534 GB, free: 9.086 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001732/0.006508, allocations: 55.83 kB / 0.9535 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.023e-05/0.006578, allocations: 31.89 kB / 0.9535 GB, free: 9 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.669e-05/0.006605, allocations: 15.94 kB / 0.9535 GB, free: 8.984 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.006897, allocations: 131.7 kB / 0.9536 GB, free: 8.855 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.403e-05/0.006931, allocations: 19.97 kB / 0.9537 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.556e-05/0.006977, allocations: 19.92 kB / 0.9537 GB, free: 8.816 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002953/0.007272, allocations: 175.4 kB / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.007275, allocations: 0 / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.112e-06/0.007277, allocations: 0 / 0.9538 GB, free: 8.645 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.639e-06/0.007281, allocations: 0 / 0.9538 GB, free: 8.645 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.0006989/0.00798, allocations: 351.5 kB / 0.9542 GB, free: 8.266 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.00802, allocations: 8.031 kB / 0.9542 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003427/0.008363, allocations: 32.88 kB / 0.9542 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000267/0.00863, allocations: 137.6 kB / 0.9544 GB, free: 8.066 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.008654, allocations: 4.375 kB / 0.9544 GB, free: 8.062 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.991e-05/0.008674, allocations: 8.375 kB / 0.9544 GB, free: 8.055 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002129/0.008887, allocations: 66.16 kB / 0.9544 GB, free: 7.984 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.008897, allocations: 4.125 kB / 0.9544 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.621e-05/0.008913, allocations: 4.125 kB / 0.9544 GB, free: 7.977 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.00892, allocations: 4 kB / 0.9544 GB, free: 7.973 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001521/0.009072, allocations: 39.97 kB / 0.9545 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005965/0.009669, allocations: 244.5 kB / 0.9547 GB, free: 7.664 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.009807, allocations: 42.56 kB / 0.9548 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.217e-05/0.009899, allocations: 32.91 kB / 0.9548 GB, free: 7.578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.131e-05/0.009921, allocations: 7.938 kB / 0.9548 GB, free: 7.57 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001685/0.01009, allocations: 75.44 kB / 0.9549 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.01009, allocations: 4 kB / 0.9549 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004287/0.01052, allocations: 137.6 kB / 0.955 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.01058, allocations: 55.41 kB / 0.9551 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.01071, allocations: 134 kB / 0.9552 GB, free: 7.129 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.01073, allocations: 25.7 kB / 0.9552 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 7.181e-05/0.01081, allocations: 92.12 kB / 0.9553 GB, free: 7.004 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.485e-05/0.01083, allocations: 19.84 kB / 0.9553 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.01089, allocations: 29.7 kB / 0.9553 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.01105, allocations: 318.8 kB / 0.9556 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.248e-05/0.01113, allocations: 23.98 kB / 0.9557 GB, free: 6.605 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.01125, allocations: 54.48 kB / 0.9557 GB, free: 6.543 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.01143, allocations: 74.8 kB / 0.9558 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.01143, allocations: 0 / 0.9558 GB, free: 6.461 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002791/0.01171, allocations: 125.5 kB / 0.9559 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.01172, allocations: 8.062 kB / 0.9559 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.01173, allocations: 0 / 0.9559 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.01175, allocations: 7.984 kB / 0.9559 GB, free: 6.316 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.389e-05/0.01184, allocations: 11.94 kB / 0.9559 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.01185, allocations: 3.984 kB / 0.9559 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.698e-05/0.01192, allocations: 11.94 kB / 0.956 GB, free: 6.289 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.01193, allocations: 4 kB / 0.956 GB, free: 6.285 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.0001083/0.01204, allocations: 117.8 kB / 0.9561 GB, free: 6.16 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.052e-05/0.01207, allocations: 11.89 kB / 0.9561 GB, free: 6.148 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3e-05/0.0121, allocations: 16.42 kB / 0.9561 GB, free: 6.133 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.01211, allocations: 4 kB / 0.9561 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.01211, allocations: 0 / 0.9561 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.01211, allocations: 0 / 0.9561 GB, free: 6.129 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004889/0.0126, allocations: 326.1 kB / 0.9564 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.0126, allocations: 0 / 0.9564 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.66e-05/0.01264, allocations: 0 / 0.9564 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.01264, allocations: 4 kB / 0.9564 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.01266, allocations: 11.92 kB / 0.9564 GB, free: 5.758 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.01266, allocations: 4 kB / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.01266, allocations: 0 / 0.9564 GB, free: 5.754 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003495/0.01301, allocations: 215.4 kB / 0.9566 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.01302, allocations: 7.891 kB / 0.9566 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.01304, allocations: 7.984 kB / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.63e-05/0.01313, allocations: 0 / 0.9566 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.434e-05/0.01317, allocations: 11.98 kB / 0.9567 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.376e-06/0.01318, allocations: 0 / 0.9567 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.01325, allocations: 98.27 kB / 0.9568 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01325, allocations: 0 / 0.9568 GB, free: 5.406 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000294/0.01354, allocations: 39.94 kB / 0.9568 GB, free: 5.367 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.0003907/0.01394, allocations: 164 kB / 0.9569 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002546/0.01419, allocations: 67.91 kB / 0.957 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01419, allocations: 0 / 0.957 GB, free: 5.145 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/0.01429, allocations: 44.03 kB / 0.9571 GB, free: 5.102 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.01456, allocations: 9.969 kB / 0.9571 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004023/0.01496, allocations: 170.1 kB / 0.9572 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.33e-05/0.01503, allocations: 75.33 kB / 0.9573 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.806e-05/0.01507, allocations: 11.97 kB / 0.9573 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.01511, allocations: 16.5 kB / 0.9573 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of SimCode: time 3.21e-07/0.01511, allocations: 0 / 0.9573 GB, free: 4.781 MB / 0.8575 GB Notification: Performance of Templates: time 0.004987/0.02009, allocations: 1.486 MB / 0.9588 GB, free: 3.316 MB / 0.8575 GB " [Timeout remaining time 300] 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] Reference file matches [Calling sys.exit(0), Time elapsed: 8.174208644777536]