Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.001938/0.001938, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002537/0.002537, allocations: 220.5 kB / 23.01 MB, free: 4.609 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.754/2.754, allocations: 476.7 MB / 0.7714 GB, free: 4.293 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.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth,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.Zhang2012WindowsSouth") [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.002021/0.002021, allocations: 68.48 kB / 1.119 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.334/0.336, allocations: 170 MB / 1.285 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth): time 0.00296/0.339, allocations: 1.545 MB / 1.286 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.3406, allocations: 0.8158 MB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.277e-05/0.3407, allocations: 0 / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.495e-05/0.3407, allocations: 11.94 kB / 1.287 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.408e-05/0.3408, allocations: 7.875 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006659/0.3415, allocations: 147.5 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.3416, allocations: 75.78 kB / 1.287 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.3417, allocations: 16.11 kB / 1.287 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.3419, allocations: 43.84 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.817e-05/0.342, allocations: 39.83 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.019e-05/0.342, allocations: 4 kB / 1.287 GB, free: 8.574 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003098/0.3423, allocations: 151.7 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.3423, allocations: 15.98 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.851e-05/0.3424, allocations: 35.8 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002871/0.3427, allocations: 143.5 kB / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3427, allocations: 0 / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3427, allocations: 0 / 1.288 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3427, allocations: 0 / 1.288 GB, free: 8.234 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.0006751/0.3433, allocations: 355.5 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3434, allocations: 8.031 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003324/0.3437, allocations: 36.86 kB / 1.288 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002621/0.344, allocations: 130.4 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.344, allocations: 8.25 kB / 1.288 GB, free: 7.648 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.344, allocations: 8.375 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002048/0.3442, allocations: 73.72 kB / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3442, allocations: 0 / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.3443, allocations: 0 / 1.288 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.3443, allocations: 4 kB / 1.288 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3444, allocations: 35.97 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005998/0.345, allocations: 287.8 kB / 1.288 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001314/0.3451, allocations: 50.48 kB / 1.289 GB, free: 7.141 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.966e-05/0.3452, allocations: 32.97 kB / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.3452, allocations: 0 / 1.289 GB, free: 7.105 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.3454, allocations: 79.38 kB / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.3454, allocations: 0 / 1.289 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0004162/0.3458, allocations: 137.5 kB / 1.289 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.3459, allocations: 55.48 kB / 1.289 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.346, allocations: 127.3 kB / 1.289 GB, free: 6.672 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.109e-05/0.346, allocations: 25.7 kB / 1.289 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.3461, allocations: 96.08 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.55e-05/0.3461, allocations: 23.83 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.504e-05/0.3462, allocations: 29.7 kB / 1.289 GB, free: 6.484 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001915/0.3464, allocations: 318.8 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.204e-05/0.3465, allocations: 23.98 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.678e-05/0.3466, allocations: 54.55 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001556/0.3467, allocations: 70.48 kB / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3467, allocations: 0 / 1.29 GB, free: 6 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002424/0.347, allocations: 113.6 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.347, allocations: 11.98 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.347, allocations: 0 / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.347, allocations: 3.984 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.313e-05/0.3471, allocations: 8 kB / 1.29 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.837e-06/0.3471, allocations: 7.938 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.3472, allocations: 11.98 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.3472, allocations: 0 / 1.29 GB, free: 5.84 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.0001151/0.3473, allocations: 129.8 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.572e-05/0.3473, allocations: 3.953 kB / 1.29 GB, free: 5.699 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.35e-05/0.3474, allocations: 16.36 kB / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.3474, allocations: 0 / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.3474, allocations: 0 / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.3474, allocations: 0 / 1.29 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004787/0.3479, allocations: 361.8 kB / 1.29 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3479, allocations: 4 kB / 1.29 GB, free: 5.273 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.699e-05/0.3479, allocations: 8 kB / 1.29 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3479, allocations: 3.938 kB / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.3479, allocations: 0 / 1.29 GB, free: 5.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/0.3479, allocations: 7.922 kB / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.3479, allocations: 0 / 1.29 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.3482, allocations: 203.6 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.39e-05/0.3482, allocations: 7.891 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.978e-05/0.3483, allocations: 12 kB / 1.29 GB, free: 5.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.882e-05/0.3484, allocations: 7.922 kB / 1.29 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.3484, allocations: 7.984 kB / 1.29 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.3484, allocations: 4 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.256e-05/0.3485, allocations: 96.2 kB / 1.291 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3485, allocations: 0 / 1.291 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003019/0.3488, allocations: 35.94 kB / 1.291 GB, free: 4.871 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.0003843/0.3492, allocations: 168.9 kB / 1.291 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002542/0.3494, allocations: 75.88 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3494, allocations: 0 / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.209e-05/0.3495, allocations: 27.98 kB / 1.291 GB, free: 4.613 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.3498, allocations: 15.92 kB / 1.291 GB, free: 4.598 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004475/0.3502, allocations: 210.6 kB / 1.291 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003294/0.3505, allocations: 0.6885 MB / 1.292 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.604e-05/0.3506, allocations: 19.38 kB / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3506, allocations: 0 / 1.292 GB, free: 3.625 MB / 0.9825 GB Notification: Performance of Templates: time 0.003885/0.3545, allocations: 1.643 MB / 1.293 GB, free: 1.984 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.sim & ./Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Windows_Validation_Zhang2012WindowsSouth.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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: 11.396019850013545]