Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001333/0.001333, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001469/0.001469, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.506/1.506, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.803/2.803, allocations: 476.8 MB / 0.7715 GB, free: 3.883 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_11_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.002033/0.002033, allocations: 65.25 kB / 1.118 GB, free: 39.62 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.325, allocations: 170 MB / 1.284 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1858/0.5108, allocations: 155.2 MB / 1.436 GB, free: 14.82 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01072/0.5215, allocations: 8 MB / 1.443 GB, free: 6.801 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006491/0.5222, allocations: 35.69 kB / 1.444 GB, free: 6.766 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.0007931/0.523, allocations: 309.7 kB / 1.444 GB, free: 6.461 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.0008075/0.5238, allocations: 326.3 kB / 1.444 GB, free: 6.141 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001029/0.5248, allocations: 404.6 kB / 1.445 GB, free: 5.75 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001435/0.5262, allocations: 1.168 MB / 1.446 GB, free: 4.578 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007261/0.527, allocations: 458.5 kB / 1.446 GB, free: 4.133 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004823/0.5318, allocations: 2.09 MB / 1.448 GB, free: 2.035 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005611/0.5323, allocations: 378.3 kB / 1.449 GB, free: 1.664 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 7.721e-05/0.5324, allocations: 44 kB / 1.449 GB, free: 1.621 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.5326, allocations: 83.95 kB / 1.449 GB, free: 1.539 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0002991/0.5329, allocations: 267.2 kB / 1.449 GB, free: 1.277 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.000282/0.5332, allocations: 242.8 kB / 1.449 GB, free: 1.039 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.0007654/0.534, allocations: 0.634 MB / 1.45 GB, free: 412 kB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.534, allocations: 0 / 1.45 GB, free: 412 kB / 1.139 GB Notification: Performance of FrontEnd: time 1.423e-06/0.534, allocations: 3.938 kB / 1.45 GB, free: 408 kB / 1.139 GB Notification: Performance of Transformations before backend: time 8.866e-06/0.534, allocations: 4 kB / 1.45 GB, free: 404 kB / 1.139 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.001079/0.5351, allocations: 0.7581 MB / 1.45 GB, free: 15.6 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.677e-05/0.5351, allocations: 8.031 kB / 1.45 GB, free: 15.59 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.131e-05/0.5352, allocations: 21.31 kB / 1.451 GB, free: 15.57 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.5353, allocations: 102.4 kB / 1.451 GB, free: 15.46 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.5354, allocations: 67.58 kB / 1.451 GB, free: 15.4 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.5362, allocations: 379.2 kB / 1.451 GB, free: 15 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.5363, allocations: 45.3 kB / 1.451 GB, free: 14.96 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.435e-05/0.5363, allocations: 52 kB / 1.451 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.5375, allocations: 0.7027 MB / 1.452 GB, free: 14.12 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.5375, allocations: 7.938 kB / 1.452 GB, free: 14.11 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.069e-05/0.5376, allocations: 27.94 kB / 1.452 GB, free: 14.08 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-05/0.5376, allocations: 23.98 kB / 1.452 GB, free: 14.06 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007051/0.5384, allocations: 379.4 kB / 1.452 GB, free: 13.69 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003253/0.5416, allocations: 3.071 MB / 1.455 GB, free: 10.48 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000296/0.5419, allocations: 214.2 kB / 1.455 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.5421, allocations: 136.5 kB / 1.456 GB, free: 10.02 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.5421, allocations: 4 kB / 1.456 GB, free: 10.01 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.756e-05/0.5422, allocations: 50.42 kB / 1.456 GB, free: 9.953 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 2.565e-06/0.5422, allocations: 0 / 1.456 GB, free: 9.953 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0007559/0.5429, allocations: 254.1 kB / 1.456 GB, free: 9.699 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001885/0.5431, allocations: 286.7 kB / 1.456 GB, free: 9.352 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.5442, allocations: 0.6877 MB / 1.457 GB, free: 8.652 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 4.574e-05/0.5442, allocations: 29.7 kB / 1.457 GB, free: 8.617 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002394/0.5444, allocations: 264.3 kB / 1.457 GB, free: 8.355 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.644e-05/0.5445, allocations: 39.69 kB / 1.457 GB, free: 8.316 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.929e-05/0.5445, allocations: 25.72 kB / 1.457 GB, free: 8.285 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.5447, allocations: 374.7 kB / 1.458 GB, free: 7.91 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001152/0.5448, allocations: 39.91 kB / 1.458 GB, free: 7.871 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.5451, allocations: 225.7 kB / 1.458 GB, free: 7.602 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.5453, allocations: 121 kB / 1.458 GB, free: 7.465 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.5453, allocations: 0 / 1.458 GB, free: 7.465 MB / 1.154 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003713/0.5457, allocations: 197.1 kB / 1.458 GB, free: 7.266 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.5457, allocations: 11.94 kB / 1.458 GB, free: 7.254 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.5457, allocations: 0 / 1.458 GB, free: 7.254 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.5457, allocations: 4 kB / 1.458 GB, free: 7.25 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.546, allocations: 40.08 kB / 1.458 GB, free: 7.211 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/0.546, allocations: 8 kB / 1.458 GB, free: 7.203 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002225/0.5462, allocations: 55.5 kB / 1.458 GB, free: 7.148 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.608e-05/0.5462, allocations: 12.06 kB / 1.458 GB, free: 7.137 MB / 1.154 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.0002156/0.5464, allocations: 193.8 kB / 1.458 GB, free: 6.938 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002256/0.5467, allocations: 71.55 kB / 1.458 GB, free: 6.867 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.993e-05/0.5468, allocations: 60.27 kB / 1.458 GB, free: 6.801 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.5468, allocations: 4 kB / 1.458 GB, free: 6.797 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.5468, allocations: 4 kB / 1.459 GB, free: 6.793 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5468, allocations: 4 kB / 1.459 GB, free: 6.789 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001674/0.5484, allocations: 1.245 MB / 1.46 GB, free: 5.461 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.5485, allocations: 0 / 1.46 GB, free: 5.461 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001877/0.5486, allocations: 39.91 kB / 1.46 GB, free: 5.422 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.114e-06/0.5486, allocations: 7.984 kB / 1.46 GB, free: 5.414 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.5487, allocations: 4.281 kB / 1.46 GB, free: 5.41 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.5487, allocations: 8 kB / 1.46 GB, free: 5.402 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.68e-06/0.5487, allocations: 11.86 kB / 1.46 GB, free: 5.391 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004292/0.5491, allocations: 330.8 kB / 1.46 GB, free: 5.023 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.5492, allocations: 75.55 kB / 1.46 GB, free: 4.949 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.967e-05/0.5493, allocations: 8 kB / 1.46 GB, free: 4.941 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.5495, allocations: 15.92 kB / 1.46 GB, free: 4.926 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.581e-05/0.5495, allocations: 16.2 kB / 1.46 GB, free: 4.91 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.724e-06/0.5495, allocations: 8 kB / 1.46 GB, free: 4.902 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.000601/0.5501, allocations: 0.4951 MB / 1.461 GB, free: 4.41 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5501, allocations: 3.938 kB / 1.461 GB, free: 4.406 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0003915/0.5505, allocations: 79.94 kB / 1.461 GB, free: 4.328 MB / 1.154 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.0008331/0.5514, allocations: 0.899 MB / 1.462 GB, free: 3.371 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.0003005/0.5517, allocations: 107.8 kB / 1.462 GB, free: 3.266 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.5517, allocations: 0 / 1.462 GB, free: 3.266 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.5518, allocations: 63.83 kB / 1.462 GB, free: 3.203 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.553, allocations: 282.7 kB / 1.462 GB, free: 2.934 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005604/0.5586, allocations: 4.465 MB / 1.466 GB, free: 14.3 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.559, allocations: 313.7 kB / 1.467 GB, free: 13.98 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0002843/0.5593, allocations: 104.6 kB / 1.467 GB, free: 13.87 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002126/0.5595, allocations: 167.4 kB / 1.467 GB, free: 13.71 MB / 1.17 GB Notification: Performance of SimCode: time 5.51e-07/0.5595, allocations: 0 / 1.467 GB, free: 13.71 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04082/0.6003, allocations: 14.74 MB / 1.481 GB, free: 15.41 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.52, allocations: 6.125 kB / 1.481 GB, free: 15.41 MB / 1.186 GB " [Timeout remaining time 286] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 20.26358386396896]