Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.001751/0.001751, allocations: 89.48 kB / 19.44 MB, free: 336 kB / 13.93 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.00192/0.00192, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.573/1.573, allocations: 177.1 MB / 203.1 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.446/3.446, allocations: 429.5 MB / 0.6729 GB, free: 4.031 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chePre.PIn|chePre.pAtm",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.8775 GB, free: 6.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.872e-05, allocations: 2.875 kB / 0.8775 GB, free: 6.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.004902/0.004931, allocations: 1.709 MB / 0.8791 GB, free: 4.965 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003398/0.008329, allocations: 1.393 MB / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.453e-05/0.008414, allocations: 0 / 0.8805 GB, free: 3.566 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002841/0.008698, allocations: 31.72 kB / 0.8805 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000588/0.009286, allocations: 117.2 kB / 0.8806 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006105/0.009896, allocations: 148.8 kB / 0.8808 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005523/0.01045, allocations: 269.4 kB / 0.881 GB, free: 3.012 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.01057, allocations: 13.58 kB / 0.881 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002939/0.01086, allocations: 135.7 kB / 0.8812 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003259/0.01119, allocations: 81.42 kB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.728e-05/0.01126, allocations: 20 kB / 0.8813 GB, free: 2.766 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.01161, allocations: 115.8 kB / 0.8814 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001692/0.01178, allocations: 87.73 kB / 0.8815 GB, free: 2.566 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.01196, allocations: 73.77 kB / 0.8815 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0008004/0.01276, allocations: 362.8 kB / 0.8819 GB, free: 2.141 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/0.01277, allocations: 7.922 kB / 0.8819 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.242e-06/0.01277, allocations: 0 / 0.8819 GB, free: 2.133 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.01278, allocations: 0 / 0.8819 GB, free: 2.133 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001417/0.01419, allocations: 0.6078 MB / 0.8825 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.01424, allocations: 8.031 kB / 0.8825 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001802/0.01442, allocations: 44.75 kB / 0.8825 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005354/0.01495, allocations: 223.5 kB / 0.8827 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.628e-05/0.01499, allocations: 12.7 kB / 0.8828 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.01505, allocations: 20.38 kB / 0.8828 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007255/0.01577, allocations: 318.6 kB / 0.8831 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.01579, allocations: 0.9062 kB / 0.8831 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.809e-05/0.01584, allocations: 20.11 kB / 0.8831 GB, free: 0.7852 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.01585, allocations: 4 kB / 0.8831 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.01755, allocations: 0.6633 MB / 0.8837 GB, free: 120 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001681/0.01923, allocations: 0.5425 MB / 0.8843 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.01987, allocations: 198 kB / 0.8845 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002561/0.02012, allocations: 76.22 kB / 0.8845 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.629e-05/0.0202, allocations: 20.27 kB / 0.8846 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005202/0.02072, allocations: 188.9 kB / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 2.515e-06/0.02072, allocations: 0 / 0.8847 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.001123/0.02185, allocations: 314.5 kB / 0.885 GB, free: 14.72 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.02199, allocations: 140.5 kB / 0.8852 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005738/0.02257, allocations: 328.3 kB / 0.8855 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.619e-05/0.02263, allocations: 37.69 kB / 0.8855 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002218/0.02286, allocations: 187.4 kB / 0.8857 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.02304, allocations: 115.1 kB / 0.8858 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001958/0.02324, allocations: 79.34 kB / 0.8859 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004588/0.02369, allocations: 0.5274 MB / 0.8864 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/0.02392, allocations: 55.97 kB / 0.8865 GB, free: 13.19 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004344/0.02436, allocations: 205.3 kB / 0.8867 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005427/0.0249, allocations: 173.2 kB / 0.8868 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.02491, allocations: 4 kB / 0.8868 GB, free: 12.78 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000821/0.02573, allocations: 257.2 kB / 0.8871 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.244e-05/0.02575, allocations: 8 kB / 0.8871 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.02576, allocations: 0 / 0.8871 GB, free: 12.52 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.136e-05/0.02578, allocations: 4 kB / 0.8871 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/0.02618, allocations: 63.91 kB / 0.8871 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/0.02619, allocations: 4 kB / 0.8871 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.0264, allocations: 23.83 kB / 0.8872 GB, free: 12.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.02645, allocations: 11.98 kB / 0.8872 GB, free: 12.41 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 36 * 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.0002626/0.02671, allocations: 188.4 kB / 0.8874 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.02685, allocations: 43.81 kB / 0.8874 GB, free: 12.17 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001136/0.02799, allocations: 334 kB / 0.8877 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.02799, allocations: 4 kB / 0.8877 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.028, allocations: 0 / 0.8877 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/0.02802, allocations: 3.984 kB / 0.8877 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.02854, allocations: 260.3 kB / 0.888 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.02854, allocations: 0 / 0.888 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003193/0.02886, allocations: 59.91 kB / 0.888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.02887, allocations: 48 / 0.888 GB, free: 11.49 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.83e-05/0.02891, allocations: 15.92 kB / 0.888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.02891, allocations: 0 / 0.888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.02891, allocations: 4 kB / 0.888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008712/0.02979, allocations: 313.3 kB / 0.8883 GB, free: 11.14 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.03001, allocations: 67.73 kB / 0.8884 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.5e-05/0.03008, allocations: 4 kB / 0.8884 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002115/0.03029, allocations: 19.98 kB / 0.8884 GB, free: 11.05 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.0304, allocations: 19.95 kB / 0.8885 GB, free: 11.03 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.581e-05/0.03044, allocations: 12 kB / 0.8885 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003747/0.03082, allocations: 237.1 kB / 0.8887 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.4e-07/0.03082, allocations: 0 / 0.8887 GB, free: 10.79 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0005751/0.03139, allocations: 75.86 kB / 0.8888 GB, free: 10.71 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003838/0.03523, allocations: 0.4885 MB / 0.8892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004533/0.03568, allocations: 203.6 kB / 0.8894 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.03568, allocations: 0 / 0.8894 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.0359, allocations: 124 kB / 0.8896 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.03619, allocations: 52.36 kB / 0.8896 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009275/0.03712, allocations: 447.5 kB / 0.89 GB, free: 9.559 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001829/0.0373, allocations: 142.9 kB / 0.8902 GB, free: 9.398 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003251/0.03763, allocations: 146.8 kB / 0.8903 GB, free: 9.254 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.03773, allocations: 40.48 kB / 0.8903 GB, free: 9.215 MB / 0.8542 GB Notification: Performance of SimCode: time 4.71e-07/0.03773, allocations: 4 kB / 0.8903 GB, free: 9.211 MB / 0.8542 GB Notification: Performance of Templates: time 0.009198/0.04693, allocations: 3.497 MB / 0.8938 GB, free: 5.75 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_CheckPressure.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure.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.663348656962626]