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.002036/0.002036, allocations: 83.69 kB / 20.23 MB, free: 4.191 MB / 18.57 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.002101/0.002101, allocations: 157.7 kB / 23.55 MB, free: 0.8789 MB / 18.57 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.57/1.57, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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.921/2.921, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 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.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.843e-06/1.843e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.871e-05/3.056e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast): time 0.00324/0.003271, allocations: 1.543 MB / 0.7879 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001749/0.00502, allocations: 0.7803 MB / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.005079, allocations: 0 / 0.7886 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.206e-05/0.005111, allocations: 8.781 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.856e-05/0.00518, allocations: 8.578 kB / 0.7886 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007467/0.005927, allocations: 152.6 kB / 0.7888 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001581/0.006085, allocations: 79.77 kB / 0.7889 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.283e-05/0.006168, allocations: 4.188 kB / 0.7889 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.006348, allocations: 57.5 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.179e-05/0.00642, allocations: 27.95 kB / 0.7889 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.752e-05/0.006447, allocations: 8 kB / 0.789 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004643/0.006912, allocations: 139.6 kB / 0.7891 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.174e-05/0.006943, allocations: 17.2 kB / 0.7891 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.651e-05/0.007, allocations: 27.91 kB / 0.7891 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.007365, allocations: 171.4 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.007369, allocations: 0 / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00737, allocations: 0.6875 kB / 0.7893 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.007374, allocations: 0 / 0.7893 GB, free: 9.824 MB / 0.7448 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.0007811/0.008155, allocations: 455.1 kB / 0.7897 GB, free: 9.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.008192, allocations: 8.031 kB / 0.7897 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003665/0.008558, allocations: 33.78 kB / 0.7898 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.008795, allocations: 135.8 kB / 0.7899 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.00882, allocations: 4.375 kB / 0.7899 GB, free: 9.141 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.621e-05/0.008836, allocations: 8.312 kB / 0.7899 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001956/0.009031, allocations: 66.22 kB / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.009041, allocations: 192 / 0.79 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.472e-05/0.009056, allocations: 4.125 kB / 0.79 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.009063, allocations: 4 kB / 0.79 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.009194, allocations: 31.97 kB / 0.79 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000653/0.009847, allocations: 312.4 kB / 0.7903 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.01002, allocations: 56.64 kB / 0.7904 GB, free: 8.617 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.945e-05/0.01012, allocations: 35.8 kB / 0.7904 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.807e-05/0.01015, allocations: 11.88 kB / 0.7904 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.01033, allocations: 78.56 kB / 0.7905 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.01033, allocations: 0 / 0.7905 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0004763/0.01081, allocations: 139.1 kB / 0.7906 GB, free: 8.336 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.01086, allocations: 59.39 kB / 0.7907 GB, free: 8.266 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.01104, allocations: 185.9 kB / 0.7909 GB, free: 8.066 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.787e-05/0.01107, allocations: 29.7 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.982e-05/0.01117, allocations: 140.3 kB / 0.791 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.008e-05/0.0112, allocations: 19.84 kB / 0.791 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.01127, allocations: 35.36 kB / 0.7911 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002812/0.01155, allocations: 0.4967 MB / 0.7916 GB, free: 7.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.607e-05/0.01165, allocations: 25.58 kB / 0.7916 GB, free: 7.297 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001108/0.01176, allocations: 55.12 kB / 0.7916 GB, free: 7.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001834/0.01194, allocations: 84.03 kB / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.01194, allocations: 4 kB / 0.7917 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002864/0.01223, allocations: 118.5 kB / 0.7918 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.01224, allocations: 4 kB / 0.7918 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01225, allocations: 5.031 kB / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.01227, allocations: 0 / 0.7918 GB, free: 7.004 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.01238, allocations: 16.64 kB / 0.7919 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.01238, allocations: 0 / 0.7919 GB, free: 6.988 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.921e-05/0.01245, allocations: 12.42 kB / 0.7919 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.01247, allocations: 8 kB / 0.7919 GB, free: 6.969 MB / 0.7448 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.0001342/0.0126, allocations: 167.8 kB / 0.792 GB, free: 6.797 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.01263, allocations: 11.89 kB / 0.792 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.158e-05/0.01266, allocations: 17.58 kB / 0.7921 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.01266, allocations: 0 / 0.7921 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01267, allocations: 0 / 0.7921 GB, free: 6.773 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.01267, allocations: 4.875 kB / 0.7921 GB, free: 6.77 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005388/0.01321, allocations: 389.2 kB / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.01321, allocations: 0.8125 kB / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.571e-05/0.01325, allocations: 0 / 0.7924 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.01325, allocations: 4.938 kB / 0.7924 GB, free: 6.344 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.01326, allocations: 3.984 kB / 0.7924 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01326, allocations: 1.344 kB / 0.7924 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01326, allocations: 0 / 0.7924 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.01365, allocations: 267.8 kB / 0.7927 GB, free: 6.059 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.01367, allocations: 8.922 kB / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.938e-05/0.01369, allocations: 0 / 0.7927 GB, free: 6.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.838e-05/0.01378, allocations: 11.92 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.069e-05/0.01382, allocations: 2.312 kB / 0.7927 GB, free: 6.039 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.01383, allocations: 7.984 kB / 0.7927 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001/0.01393, allocations: 139.2 kB / 0.7929 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01393, allocations: 0 / 0.7929 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003123/0.01424, allocations: 39.92 kB / 0.7929 GB, free: 5.855 MB / 0.7448 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.0005225/0.01476, allocations: 165 kB / 0.7931 GB, free: 5.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002825/0.01505, allocations: 79.81 kB / 0.7931 GB, free: 5.621 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.441e-06/0.01505, allocations: 4 kB / 0.7931 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.01517, allocations: 43.8 kB / 0.7932 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.01544, allocations: 12.69 kB / 0.7932 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004787/0.01592, allocations: 191.7 kB / 0.7934 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.236e-05/0.01601, allocations: 73.23 kB / 0.7934 GB, free: 5.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.542e-05/0.01604, allocations: 7.938 kB / 0.7935 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.702e-05/0.01608, allocations: 13.41 kB / 0.7935 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.01608, allocations: 0 / 0.7935 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.005496/0.02157, allocations: 1.511 MB / 0.7949 GB, free: 3.754 MB / 0.7448 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.pipe 2>&1) [Timeout 240] 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: 7.987841593101621]