Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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: 110.4 kB / 18.94 MB, free: 2.949 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.001595/0.001595, allocations: 219.2 kB / 22.26 MB, free: 5.125 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.938/2.938, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_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.001873/0.001873, allocations: 71.77 kB / 1.177 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.294, allocations: 180.2 MB / 1.353 GB, free: 8.445 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2038/0.4978, allocations: 179.8 MB / 1.528 GB, free: 3.992 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.01136/0.5091, allocations: 8.834 MB / 1.537 GB, free: 11.14 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007465/0.5099, allocations: 39.62 kB / 1.537 GB, free: 11.1 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.0009765/0.5109, allocations: 305.7 kB / 1.537 GB, free: 10.8 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.001004/0.5119, allocations: 318.4 kB / 1.538 GB, free: 10.48 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.5131, allocations: 412.2 kB / 1.538 GB, free: 10.09 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00163/0.5147, allocations: 1.164 MB / 1.539 GB, free: 8.918 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007822/0.5155, allocations: 451.1 kB / 1.54 GB, free: 8.477 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004689/0.5202, allocations: 2.168 MB / 1.542 GB, free: 6.301 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005867/0.5208, allocations: 370.3 kB / 1.542 GB, free: 5.938 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 8.29e-05/0.5208, allocations: 40 kB / 1.542 GB, free: 5.898 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.5211, allocations: 87.95 kB / 1.542 GB, free: 5.812 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002985/0.5214, allocations: 275.2 kB / 1.542 GB, free: 5.543 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0003494/0.5217, allocations: 286.4 kB / 1.543 GB, free: 5.262 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0007422/0.5225, allocations: 0.6301 MB / 1.543 GB, free: 4.629 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.5225, allocations: 0 / 1.543 GB, free: 4.629 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5225, allocations: 0 / 1.543 GB, free: 4.629 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.419e-05/0.5225, allocations: 0 / 1.543 GB, free: 4.629 MB / 1.232 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.001136/0.5236, allocations: 0.7698 MB / 1.544 GB, free: 3.824 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.566e-05/0.5237, allocations: 11.97 kB / 1.544 GB, free: 3.812 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001109/0.5238, allocations: 94.52 kB / 1.544 GB, free: 3.711 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.5239, allocations: 71.52 kB / 1.544 GB, free: 3.641 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007035/0.5246, allocations: 383.2 kB / 1.545 GB, free: 3.238 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.5246, allocations: 41.3 kB / 1.545 GB, free: 3.199 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.401e-05/0.5247, allocations: 52 kB / 1.545 GB, free: 3.148 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.5257, allocations: 0.6989 MB / 1.545 GB, free: 2.367 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.5257, allocations: 3.938 kB / 1.545 GB, free: 2.363 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.236e-05/0.5258, allocations: 27.94 kB / 1.545 GB, free: 2.336 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.905e-05/0.5258, allocations: 31.98 kB / 1.545 GB, free: 2.305 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006802/0.5265, allocations: 379.3 kB / 1.546 GB, free: 1.934 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/0.5295, allocations: 3.157 MB / 1.549 GB, free: 14.64 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002855/0.5298, allocations: 214.1 kB / 1.549 GB, free: 14.34 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002393/0.53, allocations: 128.5 kB / 1.549 GB, free: 14.18 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 1.182e-05/0.53, allocations: 4 kB / 1.549 GB, free: 14.18 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.53, allocations: 58.42 kB / 1.549 GB, free: 14.11 MB / 1.248 GB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.5301, allocations: 0 / 1.549 GB, free: 14.11 MB / 1.248 GB Notification: Performance of matching and sorting (n=10): time 0.0006828/0.5307, allocations: 257.7 kB / 1.55 GB, free: 13.85 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001511/0.5309, allocations: 286.7 kB / 1.55 GB, free: 13.5 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007896/0.5317, allocations: 0.6877 MB / 1.551 GB, free: 12.8 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.5317, allocations: 25.7 kB / 1.551 GB, free: 12.77 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000228/0.5319, allocations: 272.7 kB / 1.551 GB, free: 12.5 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 3.805e-05/0.532, allocations: 35.69 kB / 1.551 GB, free: 12.47 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.042e-05/0.532, allocations: 25.72 kB / 1.551 GB, free: 12.44 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002057/0.5322, allocations: 370.8 kB / 1.551 GB, free: 12.07 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.5324, allocations: 39.91 kB / 1.551 GB, free: 12.03 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.5325, allocations: 97.09 kB / 1.551 GB, free: 11.91 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002388/0.5328, allocations: 125 kB / 1.551 GB, free: 11.77 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5328, allocations: 0 / 1.551 GB, free: 11.77 MB / 1.248 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003608/0.5331, allocations: 193.1 kB / 1.552 GB, free: 11.58 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.5332, allocations: 11.94 kB / 1.552 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.5332, allocations: 0 / 1.552 GB, free: 11.57 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.5332, allocations: 3.984 kB / 1.552 GB, free: 11.56 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002282/0.5334, allocations: 48.41 kB / 1.552 GB, free: 11.52 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.5334, allocations: 4 kB / 1.552 GB, free: 11.51 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.5336, allocations: 59.5 kB / 1.552 GB, free: 11.45 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.343e-05/0.5336, allocations: 11.94 kB / 1.552 GB, free: 11.44 MB / 1.248 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.0002103/0.5338, allocations: 197.7 kB / 1.552 GB, free: 11.24 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002181/0.5341, allocations: 75.5 kB / 1.552 GB, free: 11.16 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.391e-05/0.5342, allocations: 60.27 kB / 1.552 GB, free: 11.09 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5342, allocations: 4 kB / 1.552 GB, free: 11.09 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.5342, allocations: 4 kB / 1.552 GB, free: 11.09 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.5342, allocations: 64 / 1.552 GB, free: 11.09 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001682/0.5358, allocations: 1.28 MB / 1.553 GB, free: 9.723 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.5359, allocations: 0 / 1.553 GB, free: 9.723 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.536, allocations: 43.89 kB / 1.553 GB, free: 9.68 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.536, allocations: 4 kB / 1.553 GB, free: 9.676 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.5361, allocations: 4.281 kB / 1.553 GB, free: 9.672 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.147e-06/0.5361, allocations: 8 kB / 1.553 GB, free: 9.664 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.5361, allocations: 0 / 1.553 GB, free: 9.664 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004095/0.5365, allocations: 342.8 kB / 1.554 GB, free: 9.285 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001417/0.5366, allocations: 71.61 kB / 1.554 GB, free: 9.215 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.504e-05/0.5367, allocations: 7.984 kB / 1.554 GB, free: 9.207 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000164/0.5368, allocations: 11.94 kB / 1.554 GB, free: 9.195 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.882e-05/0.5369, allocations: 19.92 kB / 1.554 GB, free: 9.176 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.5369, allocations: 4 kB / 1.554 GB, free: 9.172 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.00059/0.5375, allocations: 0.4951 MB / 1.554 GB, free: 8.68 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.5375, allocations: 0 / 1.554 GB, free: 8.68 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0003643/0.5378, allocations: 83.88 kB / 1.554 GB, free: 8.598 MB / 1.248 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.0008694/0.5387, allocations: 0.8952 MB / 1.555 GB, free: 7.648 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.000297/0.539, allocations: 104.1 kB / 1.555 GB, free: 7.547 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.539, allocations: 4.062 kB / 1.555 GB, free: 7.543 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.5391, allocations: 59.83 kB / 1.555 GB, free: 7.484 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.5403, allocations: 278.4 kB / 1.556 GB, free: 7.219 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005816/0.5461, allocations: 4.462 MB / 1.56 GB, free: 2.594 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007043/0.5468, allocations: 0.9088 MB / 1.561 GB, free: 1.66 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0002469/0.5471, allocations: 108.6 kB / 1.561 GB, free: 1.551 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002052/0.5473, allocations: 175.4 kB / 1.561 GB, free: 1.379 MB / 1.248 GB Notification: Performance of SimCode: time 4.41e-07/0.5473, allocations: 3.938 kB / 1.561 GB, free: 1.375 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0439/0.5912, allocations: 13.76 MB / 1.575 GB, free: 3.859 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.46, allocations: 6 kB / 1.575 GB, free: 3.859 MB / 1.264 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.518965743947774]