Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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.001412/0.001412, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001645/0.001645, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.199/3.199, allocations: 0.4892 GB / 0.7951 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h") [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.002138/0.002138, allocations: 68.84 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3803, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2175/0.5978, allocations: 155.4 MB / 1.478 GB, free: 5.898 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.012/0.6098, allocations: 8.014 MB / 1.486 GB, free: 13.87 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008397/0.6107, allocations: 35.62 kB / 1.486 GB, free: 13.83 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001056/0.6117, allocations: 309.7 kB / 1.486 GB, free: 13.53 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.6128, allocations: 314.4 kB / 1.486 GB, free: 13.22 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001233/0.6141, allocations: 391.2 kB / 1.487 GB, free: 12.84 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001878/0.616, allocations: 1.156 MB / 1.488 GB, free: 11.68 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000977/0.6169, allocations: 443.1 kB / 1.488 GB, free: 11.23 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005787/0.6227, allocations: 2.086 MB / 1.49 GB, free: 9.141 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006316/0.6234, allocations: 354.3 kB / 1.491 GB, free: 8.793 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 7.483e-05/0.6234, allocations: 40 kB / 1.491 GB, free: 8.754 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002363/0.6237, allocations: 75.95 kB / 1.491 GB, free: 8.68 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0003202/0.624, allocations: 271.2 kB / 1.491 GB, free: 8.414 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000289/0.6243, allocations: 230.9 kB / 1.491 GB, free: 8.188 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007962/0.6251, allocations: 0.6457 MB / 1.492 GB, free: 7.539 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.6251, allocations: 0 / 1.492 GB, free: 7.539 MB / 1.186 GB Notification: Performance of FrontEnd: time 9.12e-07/0.6251, allocations: 0 / 1.492 GB, free: 7.539 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.6251, allocations: 7.938 kB / 1.492 GB, free: 7.531 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001091/0.6262, allocations: 0.7697 MB / 1.493 GB, free: 6.727 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.6262, allocations: 12.03 kB / 1.493 GB, free: 6.715 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000121/0.6263, allocations: 71.52 kB / 1.493 GB, free: 6.645 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008282/0.6272, allocations: 375.3 kB / 1.493 GB, free: 6.254 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.6272, allocations: 33.31 kB / 1.493 GB, free: 6.223 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.823e-05/0.6273, allocations: 55.98 kB / 1.493 GB, free: 6.168 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.6284, allocations: 0.7027 MB / 1.494 GB, free: 5.383 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.6284, allocations: 0 / 1.494 GB, free: 5.383 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.807e-05/0.6284, allocations: 27.98 kB / 1.494 GB, free: 5.355 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.16e-05/0.6285, allocations: 39.86 kB / 1.494 GB, free: 5.316 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006674/0.6292, allocations: 380.6 kB / 1.494 GB, free: 4.945 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.6318, allocations: 2.865 MB / 1.497 GB, free: 1.957 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003129/0.6321, allocations: 214.1 kB / 1.497 GB, free: 1.656 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002183/0.6323, allocations: 128.5 kB / 1.498 GB, free: 1.5 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.6323, allocations: 4 kB / 1.498 GB, free: 1.496 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/0.6324, allocations: 50.48 kB / 1.498 GB, free: 1.438 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.423e-06/0.6324, allocations: 0 / 1.498 GB, free: 1.438 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006646/0.633, allocations: 218 kB / 1.498 GB, free: 1.219 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001679/0.6332, allocations: 294.7 kB / 1.498 GB, free: 0.8633 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.6335, allocations: 264.6 kB / 1.498 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.6335, allocations: 33.7 kB / 1.498 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002488/0.6338, allocations: 300.2 kB / 1.499 GB, free: 260 kB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.456e-05/0.6338, allocations: 39.69 kB / 1.499 GB, free: 220 kB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.6339, allocations: 30.03 kB / 1.499 GB, free: 184 kB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001877/0.6341, allocations: 339.2 kB / 1.499 GB, free: 15.84 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001117/0.6342, allocations: 35.97 kB / 1.499 GB, free: 15.8 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.6345, allocations: 237.5 kB / 1.499 GB, free: 15.52 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00026/0.6347, allocations: 129 kB / 1.499 GB, free: 15.38 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6347, allocations: 0 / 1.499 GB, free: 15.38 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003191/0.635, allocations: 153.3 kB / 1.5 GB, free: 15.22 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.635, allocations: 4 kB / 1.5 GB, free: 15.22 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6351, allocations: 4 kB / 1.5 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.6351, allocations: 3.938 kB / 1.5 GB, free: 15.21 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.6353, allocations: 48.14 kB / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.6353, allocations: 7.938 kB / 1.5 GB, free: 15.16 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.6354, allocations: 8.172 kB / 1.5 GB, free: 15.15 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.576e-05/0.6354, allocations: 8 kB / 1.5 GB, free: 15.14 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0002344/0.6357, allocations: 209 kB / 1.5 GB, free: 14.93 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001889/0.6359, allocations: 31.81 kB / 1.5 GB, free: 14.9 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.039e-05/0.6359, allocations: 28.98 kB / 1.5 GB, free: 14.87 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.6359, allocations: 7.938 kB / 1.5 GB, free: 14.86 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.6359, allocations: 8 kB / 1.5 GB, free: 14.85 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.6359, allocations: 0 / 1.5 GB, free: 14.85 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001477/0.6374, allocations: 1.206 MB / 1.501 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.6374, allocations: 4 kB / 1.501 GB, free: 13.57 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001889/0.6376, allocations: 40.22 kB / 1.501 GB, free: 13.53 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.6376, allocations: 8 kB / 1.501 GB, free: 13.52 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.6376, allocations: 4 kB / 1.501 GB, free: 13.52 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.6376, allocations: 4.062 kB / 1.501 GB, free: 13.52 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/0.6376, allocations: 7.938 kB / 1.501 GB, free: 13.51 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004112/0.6381, allocations: 303 kB / 1.501 GB, free: 13.17 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 6.84e-05/0.6381, allocations: 35.8 kB / 1.501 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.6381, allocations: 4 kB / 1.501 GB, free: 13.13 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001235/0.6383, allocations: 15.98 kB / 1.502 GB, free: 13.11 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.631e-05/0.6383, allocations: 15.86 kB / 1.502 GB, free: 13.1 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.504e-06/0.6383, allocations: 8 kB / 1.502 GB, free: 13.09 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001968/0.6385, allocations: 195.1 kB / 1.502 GB, free: 12.9 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.6385, allocations: 0 / 1.502 GB, free: 12.9 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004356/0.639, allocations: 119.5 kB / 1.502 GB, free: 12.79 MB / 1.201 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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 Backend phase and start with SimCode phase: time 0.0002215/0.6392, allocations: 119.2 kB / 1.502 GB, free: 12.66 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.6395, allocations: 107.7 kB / 1.502 GB, free: 12.55 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6395, allocations: 4 kB / 1.502 GB, free: 12.55 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.6397, allocations: 59.84 kB / 1.502 GB, free: 12.49 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006563/0.6403, allocations: 102.1 kB / 1.502 GB, free: 12.39 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001357/0.6417, allocations: 0.8813 MB / 1.503 GB, free: 11.45 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.642, allocations: 308.7 kB / 1.503 GB, free: 11.12 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.625e-05/0.6421, allocations: 19.44 kB / 1.503 GB, free: 11.1 MB / 1.201 GB Notification: Performance of SimCode: time 3.91e-07/0.6421, allocations: 0 / 1.503 GB, free: 11.1 MB / 1.201 GB Notification: Performance of Templates: time 0.008608/0.6507, allocations: 5.189 MB / 1.508 GB, free: 5.934 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.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: 12.413659315090626]