Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.002053/0.002053, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.002347/0.002347, allocations: 174.2 kB / 22.46 MB, free: 5.355 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.63/1.63, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.78/2.78, allocations: 359 MB / 0.6037 GB, free: 14.97 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.Zhang2012WindowsWest,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.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,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.Zhang2012WindowsWest") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.9509 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.604e-05/3.808e-05, allocations: 8.75 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest): time 0.003279/0.003317, allocations: 1.51 MB / 0.9524 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.004973, allocations: 0.7717 MB / 0.9532 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.865e-05/0.005042, allocations: 3.938 kB / 0.9532 GB, free: 9.293 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.005073, allocations: 7.922 kB / 0.9532 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/0.005137, allocations: 11.86 kB / 0.9532 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007238/0.005861, allocations: 143.3 kB / 0.9533 GB, free: 9.133 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.006018, allocations: 83.75 kB / 0.9534 GB, free: 9.051 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.152e-05/0.006099, allocations: 8.188 kB / 0.9534 GB, free: 9.043 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.006268, allocations: 55.88 kB / 0.9535 GB, free: 8.988 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.006342, allocations: 31.89 kB / 0.9535 GB, free: 8.957 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.006368, allocations: 8 kB / 0.9535 GB, free: 8.949 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003227/0.006691, allocations: 131.7 kB / 0.9536 GB, free: 8.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.006729, allocations: 19.97 kB / 0.9537 GB, free: 8.801 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.631e-05/0.006775, allocations: 23.92 kB / 0.9537 GB, free: 8.777 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003244/0.007099, allocations: 171.5 kB / 0.9539 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.007102, allocations: 0 / 0.9539 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of FrontEnd: time 6.02e-07/0.007102, allocations: 0 / 0.9539 GB, free: 8.609 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.007106, allocations: 4 kB / 0.9539 GB, free: 8.605 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.0006673/0.007774, allocations: 351.5 kB / 0.9542 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.007811, allocations: 8.031 kB / 0.9542 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003598/0.008171, allocations: 36.8 kB / 0.9542 GB, free: 8.184 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.008416, allocations: 127.5 kB / 0.9544 GB, free: 8.035 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.008447, allocations: 4.375 kB / 0.9544 GB, free: 8.031 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.426e-05/0.008471, allocations: 8.375 kB / 0.9544 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002134/0.008685, allocations: 66.22 kB / 0.9544 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.008697, allocations: 192 / 0.9544 GB, free: 7.953 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.008714, allocations: 12.05 kB / 0.9544 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.008719, allocations: 4 kB / 0.9544 GB, free: 7.938 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001449/0.008864, allocations: 31.98 kB / 0.9545 GB, free: 7.906 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006012/0.009465, allocations: 252.4 kB / 0.9547 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.009611, allocations: 46.5 kB / 0.9548 GB, free: 7.574 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.009698, allocations: 32.97 kB / 0.9548 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.009727, allocations: 7.938 kB / 0.9548 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.009903, allocations: 71.38 kB / 0.9549 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/0.009904, allocations: 3.938 kB / 0.9549 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004412/0.01035, allocations: 145.6 kB / 0.955 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.01039, allocations: 51.41 kB / 0.9551 GB, free: 7.234 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.01051, allocations: 126 kB / 0.9552 GB, free: 7.098 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.313e-05/0.01054, allocations: 25.7 kB / 0.9552 GB, free: 7.066 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.061e-05/0.0106, allocations: 96.12 kB / 0.9553 GB, free: 6.969 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.01062, allocations: 23.91 kB / 0.9553 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.582e-05/0.01068, allocations: 29.7 kB / 0.9553 GB, free: 6.91 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.01082, allocations: 322.8 kB / 0.9557 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.654e-05/0.01091, allocations: 19.98 kB / 0.9557 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.01101, allocations: 50.5 kB / 0.9557 GB, free: 6.508 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.0112, allocations: 74.48 kB / 0.9558 GB, free: 6.426 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.0112, allocations: 4 kB / 0.9558 GB, free: 6.422 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002706/0.01147, allocations: 117.8 kB / 0.9559 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.01149, allocations: 4 kB / 0.9559 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01149, allocations: 0 / 0.9559 GB, free: 6.297 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.01151, allocations: 4 kB / 0.9559 GB, free: 6.293 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.01161, allocations: 19.91 kB / 0.9559 GB, free: 6.273 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.01162, allocations: 4.062 kB / 0.9559 GB, free: 6.27 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.02e-05/0.01169, allocations: 8 kB / 0.9559 GB, free: 6.262 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.01171, allocations: 12.06 kB / 0.956 GB, free: 6.25 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.0001091/0.01182, allocations: 120.7 kB / 0.9561 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.01184, allocations: 11.89 kB / 0.9561 GB, free: 6.113 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.873e-05/0.01187, allocations: 8.438 kB / 0.9561 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.01187, allocations: 7.938 kB / 0.9561 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.01188, allocations: 0 / 0.9561 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.01188, allocations: 0 / 0.9561 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.01237, allocations: 330 kB / 0.9564 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.01237, allocations: 4 kB / 0.9564 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.359e-05/0.01241, allocations: 7.984 kB / 0.9564 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01242, allocations: 0 / 0.9564 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.01243, allocations: 0 / 0.9564 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.01243, allocations: 0 / 0.9564 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01243, allocations: 0 / 0.9564 GB, free: 5.727 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000326/0.01276, allocations: 227.3 kB / 0.9566 GB, free: 5.488 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.735e-05/0.01277, allocations: 7.891 kB / 0.9567 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.0128, allocations: 4 kB / 0.9567 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.859e-05/0.01288, allocations: 0 / 0.9567 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.254e-05/0.01294, allocations: 15.98 kB / 0.9567 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.797e-06/0.01295, allocations: 0 / 0.9567 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.225e-05/0.01301, allocations: 95.27 kB / 0.9568 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01301, allocations: 0 / 0.9568 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000327/0.01333, allocations: 39.92 kB / 0.9568 GB, free: 5.328 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.00043/0.01376, allocations: 157.9 kB / 0.957 GB, free: 5.18 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.01403, allocations: 75.88 kB / 0.957 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.01403, allocations: 0 / 0.957 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.01414, allocations: 31.98 kB / 0.9571 GB, free: 5.074 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002783/0.01442, allocations: 11.94 kB / 0.9571 GB, free: 5.062 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004614/0.01488, allocations: 169.5 kB / 0.9572 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.601e-05/0.01496, allocations: 83.39 kB / 0.9573 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.091e-05/0.015, allocations: 11.92 kB / 0.9573 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.01504, allocations: 12.5 kB / 0.9573 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.01504, allocations: 0 / 0.9573 GB, free: 4.746 MB / 0.8575 GB Notification: Performance of Templates: time 0.005109/0.02015, allocations: 1.486 MB / 0.9588 GB, free: 3.277 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsWest.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.15476780384779]