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.001395/0.001395, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001551/0.001551, allocations: 173 kB / 23.49 MB, free: 1.059 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 0.9128/0.9128, allocations: 177.1 MB / 203.8 MB, free: 5.656 MB / 186.7 MB " [Timeout remaining time 179] 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 2.161/2.161, allocations: 429.5 MB / 0.6736 GB, free: 4.047 MB / 0.6355 GB " [Timeout remaining time 177] 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.573e-06/1.573e-06, allocations: 0 / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.101e-05/2.258e-05, allocations: 11.27 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.CheckPressure): time 0.002257/0.00228, allocations: 1.734 MB / 0.8799 GB, free: 4.91 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003517, allocations: 1.409 MB / 0.8813 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.27e-05/0.003579, allocations: 0 / 0.8813 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.003794, allocations: 35.7 kB / 0.8813 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.004094, allocations: 111.8 kB / 0.8814 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.00023/0.004324, allocations: 153.3 kB / 0.8816 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000489/0.004813, allocations: 265.5 kB / 0.8818 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.557e-05/0.004909, allocations: 9.594 kB / 0.8818 GB, free: 2.93 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.005018, allocations: 133 kB / 0.8819 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000136/0.005154, allocations: 87.8 kB / 0.882 GB, free: 2.715 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.478e-05/0.005178, allocations: 20 kB / 0.882 GB, free: 2.695 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.00531, allocations: 115.8 kB / 0.8822 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.659e-05/0.005386, allocations: 88.47 kB / 0.8822 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.586e-05/0.005452, allocations: 75.75 kB / 0.8823 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002797/0.005732, allocations: 299.6 kB / 0.8826 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.005734, allocations: 0 / 0.8826 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.31e-07/0.005735, allocations: 1.594 kB / 0.8826 GB, free: 2.129 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.005739, allocations: 0 / 0.8826 GB, free: 2.129 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.0005602/0.0063, allocations: 0.6016 MB / 0.8832 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.006334, allocations: 10.09 kB / 0.8832 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.476e-05/0.006409, allocations: 40.8 kB / 0.8832 GB, free: 1.441 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001997/0.006608, allocations: 227.5 kB / 0.8835 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.006625, allocations: 8.703 kB / 0.8835 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.31e-05/0.006648, allocations: 24.38 kB / 0.8835 GB, free: 1.16 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002547/0.006903, allocations: 303.3 kB / 0.8838 GB, free: 0.8164 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006911, allocations: 6.641 kB / 0.8838 GB, free: 0.8125 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.784e-05/0.006928, allocations: 8.125 kB / 0.8838 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.006936, allocations: 4 kB / 0.8838 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004517/0.007388, allocations: 0.6282 MB / 0.8844 GB, free: 176 kB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005994/0.007987, allocations: 0.4957 MB / 0.8849 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.008187, allocations: 158.7 kB / 0.885 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.399e-05/0.008261, allocations: 61.56 kB / 0.8851 GB, free: 15.41 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.008291, allocations: 16.27 kB / 0.8851 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001786/0.008469, allocations: 168.9 kB / 0.8853 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=34): time 1.382e-06/0.008471, allocations: 0 / 0.8853 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=34): time 0.0003761/0.008847, allocations: 266.8 kB / 0.8855 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.755e-05/0.008904, allocations: 136.5 kB / 0.8857 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001928/0.009097, allocations: 312.3 kB / 0.886 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.00912, allocations: 37.7 kB / 0.886 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.133e-05/0.009191, allocations: 171.5 kB / 0.8862 GB, free: 14.25 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.298e-05/0.009254, allocations: 119 kB / 0.8863 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-05/0.009318, allocations: 75.34 kB / 0.8863 GB, free: 14.05 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.009439, allocations: 0.5157 MB / 0.8868 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.009502, allocations: 39.97 kB / 0.8869 GB, free: 13.48 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000121/0.009623, allocations: 177.3 kB / 0.8871 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001597/0.009783, allocations: 141.2 kB / 0.8872 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009785, allocations: 0 / 0.8872 GB, free: 13.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0002554/0.01004, allocations: 221.2 kB / 0.8874 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.01005, allocations: 4 kB / 0.8874 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.01006, allocations: 4 kB / 0.8874 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.101e-05/0.01007, allocations: 0 / 0.8874 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.01021, allocations: 59.91 kB / 0.8875 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.01021, allocations: 4 kB / 0.8875 GB, free: 12.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.639e-05/0.01028, allocations: 27.77 kB / 0.8875 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.615e-05/0.01029, allocations: 16 kB / 0.8875 GB, free: 12.8 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 8.651e-05/0.01038, allocations: 180.5 kB / 0.8877 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.879e-05/0.01042, allocations: 35.86 kB / 0.8877 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003467/0.01077, allocations: 305.1 kB / 0.888 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.01077, allocations: 4 kB / 0.888 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.01077, allocations: 0 / 0.888 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.01078, allocations: 3.984 kB / 0.888 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.01094, allocations: 232.3 kB / 0.8882 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01094, allocations: 0 / 0.8882 GB, free: 12 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.297e-05/0.01103, allocations: 55.95 kB / 0.8883 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.599e-06/0.01104, allocations: 7.984 kB / 0.8883 GB, free: 11.94 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.01105, allocations: 8 kB / 0.8883 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.01105, allocations: 0 / 0.8883 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.01105, allocations: 4 kB / 0.8883 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.01131, allocations: 281.3 kB / 0.8886 GB, free: 11.63 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003243/0.01163, allocations: 67.73 kB / 0.8886 GB, free: 11.57 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.01166, allocations: 4 kB / 0.8886 GB, free: 11.56 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.251e-05/0.01172, allocations: 15.98 kB / 0.8887 GB, free: 11.55 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.886e-05/0.01177, allocations: 23.95 kB / 0.8887 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.01178, allocations: 11.98 kB / 0.8887 GB, free: 11.51 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001055/0.01189, allocations: 217.1 kB / 0.8889 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01189, allocations: 4 kB / 0.8889 GB, free: 11.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001982/0.01209, allocations: 75.86 kB / 0.889 GB, free: 11.22 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.0008506/0.01294, allocations: 466.9 kB / 0.8894 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002192/0.01316, allocations: 160.3 kB / 0.8896 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01316, allocations: 0 / 0.8896 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.947e-05/0.01326, allocations: 99.45 kB / 0.8897 GB, free: 10.65 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.01344, allocations: 58.8 kB / 0.8897 GB, free: 10.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007202/0.01416, allocations: 439.3 kB / 0.8901 GB, free: 10.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.768e-05/0.01421, allocations: 90.05 kB / 0.8902 GB, free: 10.03 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001778/0.01439, allocations: 138.8 kB / 0.8904 GB, free: 9.891 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.34e-05/0.01445, allocations: 52.47 kB / 0.8904 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.01445, allocations: 0 / 0.8904 GB, free: 9.84 MB / 0.8542 GB Notification: Performance of Templates: time 0.004901/0.01935, allocations: 3.51 MB / 0.8938 GB, free: 6.371 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.545520468149334]