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.001428/0.001428, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.001614/0.001614, allocations: 217 kB / 22.25 MB, free: 5.082 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.346/1.346, allocations: 230.6 MB / 256 MB, free: 8.023 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.964/2.964, allocations: 0.49 GB / 0.7951 GB, free: 33.37 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.00184/0.00184, allocations: 58.75 kB / 1.154 GB, free: 25.89 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3053/0.3071, allocations: 176.1 MB / 1.326 GB, free: 2.09 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1932/0.5003, allocations: 179.8 MB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.511, allocations: 8.847 MB / 1.51 GB, free: 4.77 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000777/0.5117, allocations: 27.75 kB / 1.51 GB, free: 4.742 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0009429/0.5127, allocations: 305.7 kB / 1.51 GB, free: 4.441 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0009726/0.5137, allocations: 314.4 kB / 1.511 GB, free: 4.133 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001221/0.5149, allocations: 409.7 kB / 1.511 GB, free: 3.734 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001569/0.5164, allocations: 1.164 MB / 1.512 GB, free: 2.562 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007936/0.5172, allocations: 455 kB / 1.513 GB, free: 2.113 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00494/0.5222, allocations: 2.164 MB / 1.515 GB, free: 15.94 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006754/0.5229, allocations: 378.4 kB / 1.515 GB, free: 15.57 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 9.375e-05/0.523, allocations: 40 kB / 1.515 GB, free: 15.53 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002618/0.5232, allocations: 83.94 kB / 1.515 GB, free: 15.45 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.5235, allocations: 275.2 kB / 1.516 GB, free: 15.18 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0003753/0.5239, allocations: 282.5 kB / 1.516 GB, free: 14.9 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.000797/0.5247, allocations: 0.6418 MB / 1.516 GB, free: 14.26 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.5247, allocations: 0 / 1.516 GB, free: 14.26 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5247, allocations: 0 / 1.516 GB, free: 14.26 MB / 1.217 GB Notification: Performance of Transformations before backend: time 2.004e-05/0.5247, allocations: 0 / 1.516 GB, free: 14.26 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.001167/0.5259, allocations: 0.7659 MB / 1.517 GB, free: 13.46 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.5259, allocations: 12.03 kB / 1.517 GB, free: 13.45 MB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001121/0.5261, allocations: 98.5 kB / 1.517 GB, free: 13.34 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.5262, allocations: 71.52 kB / 1.517 GB, free: 13.27 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007518/0.5269, allocations: 371.3 kB / 1.518 GB, free: 12.88 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.527, allocations: 41.31 kB / 1.518 GB, free: 12.84 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.26e-05/0.527, allocations: 55.98 kB / 1.518 GB, free: 12.79 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001063/0.5281, allocations: 0.7027 MB / 1.518 GB, free: 12 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.97e-05/0.5281, allocations: 7.938 kB / 1.518 GB, free: 11.99 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.011e-05/0.5282, allocations: 31.92 kB / 1.519 GB, free: 11.96 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.5282, allocations: 23.98 kB / 1.519 GB, free: 11.94 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006687/0.5289, allocations: 371.4 kB / 1.519 GB, free: 11.57 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.5318, allocations: 3.157 MB / 1.522 GB, free: 8.281 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.5321, allocations: 222 kB / 1.522 GB, free: 7.973 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002077/0.5323, allocations: 128.6 kB / 1.522 GB, free: 7.816 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.026e-05/0.5323, allocations: 0 / 1.522 GB, free: 7.816 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.38e-05/0.5323, allocations: 58.48 kB / 1.522 GB, free: 7.75 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 9.71e-07/0.5323, allocations: 0 / 1.522 GB, free: 7.75 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0006837/0.533, allocations: 257.7 kB / 1.523 GB, free: 7.492 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001558/0.5332, allocations: 286.7 kB / 1.523 GB, free: 7.145 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007917/0.534, allocations: 0.6842 MB / 1.524 GB, free: 6.449 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.534, allocations: 37.69 kB / 1.524 GB, free: 6.406 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.5342, allocations: 264.3 kB / 1.524 GB, free: 6.145 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.835e-05/0.5342, allocations: 35.69 kB / 1.524 GB, free: 6.109 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.181e-05/0.5343, allocations: 33.7 kB / 1.524 GB, free: 6.07 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001849/0.5345, allocations: 366.8 kB / 1.524 GB, free: 5.703 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.5346, allocations: 39.95 kB / 1.524 GB, free: 5.664 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.5348, allocations: 93.11 kB / 1.524 GB, free: 5.555 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002377/0.535, allocations: 125 kB / 1.525 GB, free: 5.414 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.535, allocations: 4 kB / 1.525 GB, free: 5.41 MB / 1.217 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003429/0.5353, allocations: 193.1 kB / 1.525 GB, free: 5.215 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5354, allocations: 7.938 kB / 1.525 GB, free: 5.207 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/0.5354, allocations: 4.5 kB / 1.525 GB, free: 5.203 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5354, allocations: 8 kB / 1.525 GB, free: 5.195 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002076/0.5356, allocations: 35.97 kB / 1.525 GB, free: 5.16 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.238e-06/0.5356, allocations: 11.91 kB / 1.525 GB, free: 5.148 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.5358, allocations: 55.58 kB / 1.525 GB, free: 5.094 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.835e-05/0.5358, allocations: 15.98 kB / 1.525 GB, free: 5.078 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.0002052/0.536, allocations: 197.7 kB / 1.525 GB, free: 4.875 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/0.5362, allocations: 67.56 kB / 1.525 GB, free: 4.809 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.851e-05/0.5363, allocations: 68.25 kB / 1.525 GB, free: 4.734 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.5363, allocations: 0 / 1.525 GB, free: 4.734 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.5363, allocations: 4 kB / 1.525 GB, free: 4.73 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.5363, allocations: 4 kB / 1.525 GB, free: 4.727 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.5378, allocations: 1.264 MB / 1.526 GB, free: 3.379 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.5378, allocations: 7.984 kB / 1.526 GB, free: 3.371 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.5379, allocations: 39.91 kB / 1.526 GB, free: 3.332 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.5379, allocations: 8.281 kB / 1.526 GB, free: 3.324 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.103e-05/0.538, allocations: 4 kB / 1.526 GB, free: 3.32 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.538, allocations: 4.172 kB / 1.526 GB, free: 3.316 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.538, allocations: 4 kB / 1.526 GB, free: 3.312 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004119/0.5384, allocations: 346.5 kB / 1.527 GB, free: 2.93 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001453/0.5385, allocations: 71.59 kB / 1.527 GB, free: 2.859 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.555e-05/0.5386, allocations: 8 kB / 1.527 GB, free: 2.852 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/0.5387, allocations: 11.98 kB / 1.527 GB, free: 2.84 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.706e-05/0.5388, allocations: 19.92 kB / 1.527 GB, free: 2.82 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.793e-06/0.5388, allocations: 4 kB / 1.527 GB, free: 2.816 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005534/0.5393, allocations: 499 kB / 1.527 GB, free: 2.332 MB / 1.217 GB Notification: Performance of sort global known variables: time 8e-08/0.5393, allocations: 4 kB / 1.527 GB, free: 2.328 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003597/0.5397, allocations: 79.94 kB / 1.527 GB, free: 2.25 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.0007637/0.5405, allocations: 0.899 MB / 1.528 GB, free: 1.297 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0002881/0.5408, allocations: 107.8 kB / 1.528 GB, free: 1.191 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.5408, allocations: 0 / 1.528 GB, free: 1.191 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.5409, allocations: 63.83 kB / 1.528 GB, free: 1.129 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.5421, allocations: 279.5 kB / 1.529 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00546/0.5475, allocations: 4.45 MB / 1.533 GB, free: 12.24 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005244/0.5481, allocations: 0.9166 MB / 1.534 GB, free: 11.3 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.0002383/0.5483, allocations: 108.5 kB / 1.534 GB, free: 11.19 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.5485, allocations: 171.4 kB / 1.534 GB, free: 11.02 MB / 1.232 GB Notification: Performance of SimCode: time 3.1e-07/0.5485, allocations: 0 / 1.534 GB, free: 11.02 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04484/0.5933, allocations: 13.76 MB / 1.548 GB, free: 13.54 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.86/11.46, allocations: 6.219 kB / 1.548 GB, free: 13.53 MB / 1.248 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: 17.584782843012363]