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.001359/0.001359, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.001528/0.001528, allocations: 217.8 kB / 23.04 MB, free: 4.863 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.433/1.433, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.151/3.151, allocations: 0.49 GB / 0.7959 GB, free: 35.65 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.002111/0.002111, allocations: 66.39 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3781/0.3802, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2205/0.6007, allocations: 155.4 MB / 1.479 GB, free: 5.012 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01117/0.6119, allocations: 8.022 MB / 1.487 GB, free: 12.97 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007006/0.6126, allocations: 31.69 kB / 1.487 GB, free: 12.94 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0008132/0.6134, allocations: 309.7 kB / 1.487 GB, free: 12.64 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.000744/0.6141, allocations: 322.4 kB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001023/0.6151, allocations: 387.5 kB / 1.488 GB, free: 11.95 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.00138/0.6165, allocations: 1.152 MB / 1.489 GB, free: 10.79 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007458/0.6173, allocations: 451 kB / 1.489 GB, free: 10.34 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004917/0.6222, allocations: 2.078 MB / 1.491 GB, free: 8.254 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005295/0.6227, allocations: 362.3 kB / 1.492 GB, free: 7.898 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 6.286e-05/0.6228, allocations: 36 kB / 1.492 GB, free: 7.863 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001955/0.623, allocations: 83.95 kB / 1.492 GB, free: 7.781 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002942/0.6233, allocations: 263.3 kB / 1.492 GB, free: 7.523 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0002731/0.6235, allocations: 234.8 kB / 1.492 GB, free: 7.293 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007916/0.6243, allocations: 0.6418 MB / 1.493 GB, free: 6.648 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6243, allocations: 0 / 1.493 GB, free: 6.648 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6243, allocations: 0 / 1.493 GB, free: 6.648 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.095e-06/0.6244, allocations: 0 / 1.493 GB, free: 6.648 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.001115/0.6255, allocations: 0.7697 MB / 1.494 GB, free: 5.844 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.6255, allocations: 12.03 kB / 1.494 GB, free: 5.832 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001128/0.6256, allocations: 71.52 kB / 1.494 GB, free: 5.762 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007153/0.6263, allocations: 383.2 kB / 1.494 GB, free: 5.359 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.106e-05/0.6264, allocations: 41.3 kB / 1.494 GB, free: 5.32 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.157e-05/0.6264, allocations: 52 kB / 1.494 GB, free: 5.27 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.6275, allocations: 0.7027 MB / 1.495 GB, free: 4.484 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.6275, allocations: 3.938 kB / 1.495 GB, free: 4.48 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.758e-05/0.6276, allocations: 28 kB / 1.495 GB, free: 4.453 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.619e-05/0.6276, allocations: 31.92 kB / 1.495 GB, free: 4.422 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006727/0.6283, allocations: 371.4 kB / 1.495 GB, free: 4.059 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002567/0.6309, allocations: 2.877 MB / 1.498 GB, free: 1.059 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003007/0.6312, allocations: 214.1 kB / 1.498 GB, free: 0.7578 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.6314, allocations: 132.5 kB / 1.498 GB, free: 0.5977 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.538e-05/0.6314, allocations: 4 kB / 1.498 GB, free: 0.5938 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.826e-05/0.6314, allocations: 42.5 kB / 1.498 GB, free: 0.543 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.493e-06/0.6314, allocations: 0 / 1.498 GB, free: 0.543 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0006656/0.6321, allocations: 218.3 kB / 1.499 GB, free: 332 kB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002061/0.6323, allocations: 294.7 kB / 1.499 GB, free: 15.97 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002796/0.6326, allocations: 272.6 kB / 1.499 GB, free: 15.7 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.6326, allocations: 25.7 kB / 1.499 GB, free: 15.66 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.6328, allocations: 304.2 kB / 1.5 GB, free: 15.36 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.6329, allocations: 35.69 kB / 1.5 GB, free: 15.32 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.633, allocations: 33.7 kB / 1.5 GB, free: 15.29 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.6331, allocations: 330.8 kB / 1.5 GB, free: 14.95 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001119/0.6332, allocations: 35.97 kB / 1.5 GB, free: 14.92 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002744/0.6335, allocations: 233.6 kB / 1.5 GB, free: 14.64 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002437/0.6338, allocations: 121 kB / 1.5 GB, free: 14.5 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.6338, allocations: 0 / 1.5 GB, free: 14.5 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003235/0.6341, allocations: 165.3 kB / 1.5 GB, free: 14.34 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.6341, allocations: 8.328 kB / 1.5 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.83e-06/0.6341, allocations: 0 / 1.5 GB, free: 14.33 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.6341, allocations: 7.938 kB / 1.5 GB, free: 14.32 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.6343, allocations: 39.89 kB / 1.5 GB, free: 14.28 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.6344, allocations: 8.125 kB / 1.5 GB, free: 14.27 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001262/0.6345, allocations: 23.97 kB / 1.501 GB, free: 14.25 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.527e-05/0.6345, allocations: 8.062 kB / 1.501 GB, free: 14.24 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.0002673/0.6348, allocations: 195.5 kB / 1.501 GB, free: 14.04 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.635, allocations: 39.8 kB / 1.501 GB, free: 14 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.698e-05/0.635, allocations: 25.17 kB / 1.501 GB, free: 13.98 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.915e-06/0.635, allocations: 7.938 kB / 1.501 GB, free: 13.97 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.635, allocations: 7.938 kB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.6351, allocations: 4 kB / 1.501 GB, free: 13.96 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001576/0.6366, allocations: 1.203 MB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.079e-06/0.6366, allocations: 4 kB / 1.502 GB, free: 12.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.6368, allocations: 43.95 kB / 1.502 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.6368, allocations: 0 / 1.502 GB, free: 12.64 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.6369, allocations: 4 kB / 1.502 GB, free: 12.63 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.724e-06/0.6369, allocations: 12.2 kB / 1.502 GB, free: 12.62 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6369, allocations: 8 kB / 1.502 GB, free: 12.61 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004041/0.6373, allocations: 299 kB / 1.502 GB, free: 12.28 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.6373, allocations: 31.8 kB / 1.502 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.801e-05/0.6374, allocations: 8 kB / 1.502 GB, free: 12.24 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.6375, allocations: 7.984 kB / 1.502 GB, free: 12.23 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/0.6375, allocations: 23.86 kB / 1.502 GB, free: 12.21 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.565e-06/0.6375, allocations: 4 kB / 1.502 GB, free: 12.2 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0001954/0.6377, allocations: 195.1 kB / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.6377, allocations: 0 / 1.503 GB, free: 12.02 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004478/0.6382, allocations: 119.5 kB / 1.503 GB, free: 11.9 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.0002166/0.6384, allocations: 115.2 kB / 1.503 GB, free: 11.78 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.6387, allocations: 108.1 kB / 1.503 GB, free: 11.67 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.6387, allocations: 8 kB / 1.503 GB, free: 11.66 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.6389, allocations: 55.89 kB / 1.503 GB, free: 11.61 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006511/0.6395, allocations: 101.8 kB / 1.503 GB, free: 11.51 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.6409, allocations: 0.8969 MB / 1.504 GB, free: 10.55 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003436/0.6412, allocations: 304.7 kB / 1.504 GB, free: 10.23 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.315e-05/0.6413, allocations: 19.44 kB / 1.504 GB, free: 10.21 MB / 1.201 GB Notification: Performance of SimCode: time 3.3e-07/0.6413, allocations: 3.938 kB / 1.504 GB, free: 10.2 MB / 1.201 GB Notification: Performance of Templates: time 0.008264/0.6496, allocations: 5.184 MB / 1.509 GB, free: 5.043 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.301847689086571]