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.001254/0.001254, allocations: 104 kB / 16.45 MB, free: 6.449 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.001325/0.001325, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.449/1.449, allocations: 230.6 MB / 252.8 MB, free: 9.117 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 2.958/2.958, allocations: 0.49 GB / 0.7916 GB, free: 33.3 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",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.001995/0.001995, allocations: 76.12 kB / 1.149 GB, free: 26.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3134, allocations: 176.1 MB / 1.321 GB, free: 3.32 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2123/0.5257, allocations: 179.5 MB / 1.496 GB, free: 15.11 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01108/0.5368, allocations: 8.764 MB / 1.505 GB, free: 6.32 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000832/0.5376, allocations: 35.69 kB / 1.505 GB, free: 6.285 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.000868/0.5385, allocations: 305.7 kB / 1.505 GB, free: 5.984 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.000858/0.5393, allocations: 306.4 kB / 1.505 GB, free: 5.684 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.5404, allocations: 386.8 kB / 1.506 GB, free: 5.309 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001285/0.5417, allocations: 1.137 MB / 1.507 GB, free: 4.164 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007581/0.5424, allocations: 0.4944 MB / 1.507 GB, free: 3.668 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004854/0.5473, allocations: 2.14 MB / 1.509 GB, free: 1.52 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005813/0.5479, allocations: 362.4 kB / 1.51 GB, free: 1.164 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.548, allocations: 40 kB / 1.51 GB, free: 1.125 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002101/0.5482, allocations: 79.95 kB / 1.51 GB, free: 1.047 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002773/0.5484, allocations: 275.2 kB / 1.51 GB, free: 0.7773 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0003709/0.5488, allocations: 274.5 kB / 1.51 GB, free: 0.5078 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0008849/0.5497, allocations: 0.6418 MB / 1.511 GB, free: 15.86 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5497, allocations: 0 / 1.511 GB, free: 15.86 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.072e-06/0.5497, allocations: 0 / 1.511 GB, free: 15.86 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.5497, allocations: 0 / 1.511 GB, free: 15.86 MB / 1.217 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.001131/0.5508, allocations: 0.8451 MB / 1.512 GB, free: 14.96 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.5509, allocations: 11.98 kB / 1.512 GB, free: 14.95 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.551, allocations: 98.5 kB / 1.512 GB, free: 14.85 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.5511, allocations: 71.52 kB / 1.512 GB, free: 14.78 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006768/0.5518, allocations: 446.5 kB / 1.512 GB, free: 14.3 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.907e-05/0.5518, allocations: 45.3 kB / 1.512 GB, free: 14.26 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.507e-05/0.5519, allocations: 52 kB / 1.512 GB, free: 14.21 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.553, allocations: 0.695 MB / 1.513 GB, free: 13.43 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.553, allocations: 11.92 kB / 1.513 GB, free: 13.42 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/0.5531, allocations: 31.92 kB / 1.513 GB, free: 13.39 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.208e-05/0.5531, allocations: 23.98 kB / 1.513 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006733/0.5538, allocations: 390.2 kB / 1.514 GB, free: 12.98 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/0.5566, allocations: 3.216 MB / 1.517 GB, free: 9.625 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.5569, allocations: 218.1 kB / 1.517 GB, free: 9.32 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002168/0.5571, allocations: 128.6 kB / 1.517 GB, free: 9.164 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.774e-05/0.5572, allocations: 8 kB / 1.517 GB, free: 9.156 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.621e-05/0.5572, allocations: 42.5 kB / 1.517 GB, free: 9.105 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.553e-06/0.5572, allocations: 0 / 1.517 GB, free: 9.105 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.000752/0.558, allocations: 261.3 kB / 1.517 GB, free: 8.844 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.5581, allocations: 287.5 kB / 1.518 GB, free: 8.496 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007963/0.5589, allocations: 0.6916 MB / 1.518 GB, free: 7.793 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.5589, allocations: 25.7 kB / 1.518 GB, free: 7.762 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.5592, allocations: 268.2 kB / 1.519 GB, free: 7.496 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 4.631e-05/0.5592, allocations: 43.67 kB / 1.519 GB, free: 7.453 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-05/0.5593, allocations: 29.7 kB / 1.519 GB, free: 7.418 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001863/0.5595, allocations: 366.8 kB / 1.519 GB, free: 7.051 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.5596, allocations: 39.95 kB / 1.519 GB, free: 7.012 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.5598, allocations: 93.11 kB / 1.519 GB, free: 6.902 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000259/0.56, allocations: 129 kB / 1.519 GB, free: 6.758 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.56, allocations: 0 / 1.519 GB, free: 6.758 MB / 1.217 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003834/0.5604, allocations: 189.5 kB / 1.519 GB, free: 6.566 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.5604, allocations: 16.06 kB / 1.519 GB, free: 6.551 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.5604, allocations: 4 kB / 1.519 GB, free: 6.547 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.96e-05/0.5605, allocations: 11.92 kB / 1.519 GB, free: 6.535 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.5607, allocations: 31.97 kB / 1.52 GB, free: 6.504 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5607, allocations: 4 kB / 1.52 GB, free: 6.5 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.5609, allocations: 55.5 kB / 1.52 GB, free: 6.445 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.929e-05/0.561, allocations: 15.98 kB / 1.52 GB, free: 6.43 MB / 1.217 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.0002415/0.5612, allocations: 203.5 kB / 1.52 GB, free: 6.223 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.5614, allocations: 63.56 kB / 1.52 GB, free: 6.16 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001002/0.5615, allocations: 64.31 kB / 1.52 GB, free: 6.086 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.5615, allocations: 4 kB / 1.52 GB, free: 6.082 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.5615, allocations: 4 kB / 1.52 GB, free: 6.078 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5615, allocations: 0 / 1.52 GB, free: 6.078 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001538/0.5631, allocations: 1.301 MB / 1.521 GB, free: 4.688 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5631, allocations: 0 / 1.521 GB, free: 4.688 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002011/0.5633, allocations: 44.17 kB / 1.521 GB, free: 4.645 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.473e-06/0.5633, allocations: 8.188 kB / 1.521 GB, free: 4.637 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.5633, allocations: 4 kB / 1.521 GB, free: 4.633 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5633, allocations: 8 kB / 1.521 GB, free: 4.625 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.5633, allocations: 4 kB / 1.521 GB, free: 4.621 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004571/0.5638, allocations: 346.6 kB / 1.522 GB, free: 4.238 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001763/0.5639, allocations: 148.7 kB / 1.522 GB, free: 4.074 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.564, allocations: 12 kB / 1.522 GB, free: 4.062 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001669/0.5642, allocations: 11.98 kB / 1.522 GB, free: 4.051 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.188e-05/0.5642, allocations: 11.94 kB / 1.522 GB, free: 4.039 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.5642, allocations: 4 kB / 1.522 GB, free: 4.035 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0006302/0.5649, allocations: 0.4912 MB / 1.522 GB, free: 3.547 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.5649, allocations: 0 / 1.522 GB, free: 3.547 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0004299/0.5653, allocations: 87.88 kB / 1.522 GB, free: 3.461 MB / 1.217 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.000876/0.5662, allocations: 0.8952 MB / 1.523 GB, free: 2.508 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0003334/0.5665, allocations: 107.8 kB / 1.523 GB, free: 2.402 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5665, allocations: 0 / 1.523 GB, free: 2.402 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.5667, allocations: 63.83 kB / 1.523 GB, free: 2.34 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001325/0.568, allocations: 277.5 kB / 1.524 GB, free: 2.074 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006049/0.574, allocations: 4.451 MB / 1.528 GB, free: 13.46 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005558/0.5746, allocations: 0.905 MB / 1.529 GB, free: 12.53 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0003191/0.5749, allocations: 100.6 kB / 1.529 GB, free: 12.43 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002175/0.5751, allocations: 175.4 kB / 1.529 GB, free: 12.25 MB / 1.232 GB Notification: Performance of SimCode: time 1.242e-06/0.5751, allocations: 0 / 1.529 GB, free: 12.25 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04252/0.6176, allocations: 13.62 MB / 1.542 GB, free: 14.86 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.588/9.205, allocations: 7.938 kB / 1.542 GB, free: 14.85 MB / 1.248 GB " [Timeout remaining time 291] (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: 15.408545835874975]