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.00131/0.00131, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001476/0.001476, allocations: 215.5 kB / 23.02 MB, free: 4.949 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.044/3.044, allocations: 0.49 GB / 0.7959 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) [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.001959/0.001959, allocations: 75.5 kB / 1.155 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3103, allocations: 176.1 MB / 1.327 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1821/0.4924, allocations: 155.3 MB / 1.478 GB, free: 5.648 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01105/0.5035, allocations: 8.014 MB / 1.486 GB, free: 13.62 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007749/0.5043, allocations: 31.69 kB / 1.486 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0009825/0.5052, allocations: 309.7 kB / 1.486 GB, free: 13.28 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0009894/0.5062, allocations: 314.4 kB / 1.487 GB, free: 12.97 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.00124/0.5075, allocations: 400.7 kB / 1.487 GB, free: 12.58 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.001605/0.5091, allocations: 1.164 MB / 1.488 GB, free: 11.41 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009062/0.51, allocations: 443.1 kB / 1.489 GB, free: 10.97 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005165/0.5151, allocations: 2.086 MB / 1.491 GB, free: 8.879 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006293/0.5158, allocations: 382.3 kB / 1.491 GB, free: 8.504 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 8.446e-05/0.5159, allocations: 40 kB / 1.491 GB, free: 8.465 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00023/0.5161, allocations: 79.97 kB / 1.491 GB, free: 8.387 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0002834/0.5164, allocations: 267.3 kB / 1.491 GB, free: 8.125 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.5167, allocations: 230.9 kB / 1.492 GB, free: 7.898 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0008672/0.5176, allocations: 0.6456 MB / 1.492 GB, free: 7.25 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.5176, allocations: 0 / 1.492 GB, free: 7.25 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.844e-06/0.5176, allocations: 0 / 1.492 GB, free: 7.25 MB / 1.186 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.5176, allocations: 0 / 1.492 GB, free: 7.25 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.001067/0.5186, allocations: 0.7698 MB / 1.493 GB, free: 6.445 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.5187, allocations: 8.031 kB / 1.493 GB, free: 6.438 MB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.332e-05/0.5187, allocations: 17.25 kB / 1.493 GB, free: 6.422 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.971e-05/0.5188, allocations: 98.45 kB / 1.493 GB, free: 6.316 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.5189, allocations: 79.5 kB / 1.493 GB, free: 6.238 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006738/0.5196, allocations: 375.3 kB / 1.494 GB, free: 5.844 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.073e-05/0.5196, allocations: 41.31 kB / 1.494 GB, free: 5.805 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.342e-05/0.5197, allocations: 52 kB / 1.494 GB, free: 5.754 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.5207, allocations: 0.7027 MB / 1.494 GB, free: 4.965 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.968e-05/0.5208, allocations: 4 kB / 1.494 GB, free: 4.961 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/0.5208, allocations: 27.94 kB / 1.494 GB, free: 4.934 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.86e-05/0.5209, allocations: 27.92 kB / 1.494 GB, free: 4.906 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006584/0.5215, allocations: 369.2 kB / 1.495 GB, free: 4.547 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.5245, allocations: 3.087 MB / 1.498 GB, free: 1.328 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/0.5248, allocations: 210.1 kB / 1.498 GB, free: 1.031 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002191/0.525, allocations: 132.5 kB / 1.498 GB, free: 0.8711 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.5251, allocations: 4 kB / 1.498 GB, free: 0.8672 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.5251, allocations: 54.42 kB / 1.498 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.954e-06/0.5251, allocations: 0 / 1.498 GB, free: 0.8047 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0007124/0.5258, allocations: 249.8 kB / 1.498 GB, free: 0.5547 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001627/0.526, allocations: 290.7 kB / 1.499 GB, free: 208 kB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008487/0.5268, allocations: 0.6877 MB / 1.499 GB, free: 15.51 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.5269, allocations: 25.7 kB / 1.499 GB, free: 15.48 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002448/0.5271, allocations: 264.3 kB / 1.5 GB, free: 15.21 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.5271, allocations: 35.7 kB / 1.5 GB, free: 15.18 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.229e-05/0.5272, allocations: 33.7 kB / 1.5 GB, free: 15.14 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.5274, allocations: 367.2 kB / 1.5 GB, free: 14.77 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.5275, allocations: 39.97 kB / 1.5 GB, free: 14.73 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.5277, allocations: 229.5 kB / 1.5 GB, free: 14.46 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002495/0.528, allocations: 125 kB / 1.5 GB, free: 14.32 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.528, allocations: 0 / 1.5 GB, free: 14.32 MB / 1.201 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003584/0.5283, allocations: 193.1 kB / 1.501 GB, free: 14.12 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.5284, allocations: 11.94 kB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.5284, allocations: 0 / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.5284, allocations: 4 kB / 1.501 GB, free: 14.11 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.5286, allocations: 40.14 kB / 1.501 GB, free: 14.07 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.5286, allocations: 7.938 kB / 1.501 GB, free: 14.06 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000218/0.5288, allocations: 55.83 kB / 1.501 GB, free: 14.01 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.517e-05/0.5288, allocations: 12.19 kB / 1.501 GB, free: 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.0002157/0.5291, allocations: 193.8 kB / 1.501 GB, free: 13.8 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.5293, allocations: 71.5 kB / 1.501 GB, free: 13.73 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.945e-05/0.5294, allocations: 68.25 kB / 1.501 GB, free: 13.65 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.5294, allocations: 4 kB / 1.501 GB, free: 13.65 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.5294, allocations: 8 kB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5294, allocations: 0 / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.5308, allocations: 1.241 MB / 1.502 GB, free: 12.32 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.5308, allocations: 3.984 kB / 1.502 GB, free: 12.31 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.531, allocations: 36.25 kB / 1.502 GB, free: 12.28 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.531, allocations: 8 kB / 1.502 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.152e-05/0.531, allocations: 4 kB / 1.502 GB, free: 12.27 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/0.5311, allocations: 11.92 kB / 1.502 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5311, allocations: 3.938 kB / 1.502 GB, free: 12.25 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004082/0.5315, allocations: 334.7 kB / 1.503 GB, free: 11.88 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.5316, allocations: 71.59 kB / 1.503 GB, free: 11.81 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.885e-05/0.5317, allocations: 8 kB / 1.503 GB, free: 11.8 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.5318, allocations: 15.98 kB / 1.503 GB, free: 11.79 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.588e-05/0.5319, allocations: 19.86 kB / 1.503 GB, free: 11.77 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.225e-06/0.5319, allocations: 4 kB / 1.503 GB, free: 11.76 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0005693/0.5325, allocations: 0.4912 MB / 1.503 GB, free: 11.27 MB / 1.201 GB Notification: Performance of sort global known variables: time 8e-08/0.5325, allocations: 0 / 1.503 GB, free: 11.27 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004015/0.5329, allocations: 83.94 kB / 1.503 GB, free: 11.19 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.0008405/0.5337, allocations: 0.9029 MB / 1.504 GB, free: 10.23 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0003226/0.534, allocations: 103.8 kB / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.534, allocations: 0 / 1.504 GB, free: 10.13 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/0.5342, allocations: 60.7 kB / 1.504 GB, free: 10.07 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.5355, allocations: 293.1 kB / 1.505 GB, free: 9.793 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005661/0.5411, allocations: 4.457 MB / 1.509 GB, free: 5.164 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003105/0.5414, allocations: 305.7 kB / 1.509 GB, free: 4.84 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0002872/0.5417, allocations: 100.6 kB / 1.509 GB, free: 4.738 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.5419, allocations: 175.4 kB / 1.51 GB, free: 4.566 MB / 1.201 GB Notification: Performance of SimCode: time 9.62e-07/0.5419, allocations: 0 / 1.51 GB, free: 4.566 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03906/0.581, allocations: 14.74 MB / 1.524 GB, free: 6.273 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.67/12.25, allocations: 11.94 kB / 1.524 GB, free: 6.262 MB / 1.217 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 420.0] 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: 18.76507327298168]