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.001437/0.001437, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001647/0.001647, allocations: 217.5 kB / 23.04 MB, free: 5.074 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.301/1.301, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.876/2.876, allocations: 0.5003 GB / 0.8061 GB, free: 26.78 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_latest_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.001773/0.001773, allocations: 83.06 kB / 1.171 GB, free: 19.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2789, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1841/0.463, allocations: 179.8 MB / 1.521 GB, free: 11.99 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.009999/0.473, allocations: 8.835 MB / 1.53 GB, free: 3.137 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000562/0.4736, allocations: 31.69 kB / 1.53 GB, free: 3.105 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.0006859/0.4742, allocations: 305.7 kB / 1.53 GB, free: 2.805 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.000678/0.4749, allocations: 314.4 kB / 1.53 GB, free: 2.496 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.476, allocations: 401.6 kB / 1.531 GB, free: 2.105 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.4773, allocations: 1.164 MB / 1.532 GB, free: 0.9375 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006794/0.4779, allocations: 463 kB / 1.532 GB, free: 492 kB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004576/0.4825, allocations: 2.168 MB / 1.534 GB, free: 14.3 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.483, allocations: 366.4 kB / 1.535 GB, free: 13.95 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 6.069e-05/0.4831, allocations: 40 kB / 1.535 GB, free: 13.91 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002038/0.4833, allocations: 91.89 kB / 1.535 GB, free: 13.82 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.0002536/0.4835, allocations: 275.2 kB / 1.535 GB, free: 13.55 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.0002561/0.4838, allocations: 278.5 kB / 1.535 GB, free: 13.27 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.0006692/0.4845, allocations: 0.6379 MB / 1.536 GB, free: 12.63 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4845, allocations: 0 / 1.536 GB, free: 12.63 MB / 1.232 GB Notification: Performance of FrontEnd: time 1.172e-06/0.4845, allocations: 4 kB / 1.536 GB, free: 12.63 MB / 1.232 GB Notification: Performance of Transformations before backend: time 1.188e-05/0.4845, allocations: 0 / 1.536 GB, free: 12.63 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.0009652/0.4854, allocations: 0.7581 MB / 1.537 GB, free: 11.84 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.4855, allocations: 15.97 kB / 1.537 GB, free: 11.82 MB / 1.232 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.333e-05/0.4855, allocations: 13.31 kB / 1.537 GB, free: 11.81 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.155e-05/0.4856, allocations: 102.4 kB / 1.537 GB, free: 11.7 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.781e-05/0.4857, allocations: 67.58 kB / 1.537 GB, free: 11.63 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000624/0.4863, allocations: 379.3 kB / 1.537 GB, free: 11.24 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.443e-05/0.4863, allocations: 41.31 kB / 1.537 GB, free: 11.2 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.4864, allocations: 56 kB / 1.537 GB, free: 11.14 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009559/0.4874, allocations: 0.7066 MB / 1.538 GB, free: 10.35 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.4874, allocations: 0 / 1.538 GB, free: 10.35 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.572e-05/0.4874, allocations: 27.94 kB / 1.538 GB, free: 10.32 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-05/0.4875, allocations: 35.92 kB / 1.538 GB, free: 10.29 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005957/0.4881, allocations: 373 kB / 1.538 GB, free: 9.926 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/0.4905, allocations: 3.153 MB / 1.541 GB, free: 6.637 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000258/0.4908, allocations: 222.1 kB / 1.542 GB, free: 6.328 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001998/0.491, allocations: 124.6 kB / 1.542 GB, free: 6.176 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.491, allocations: 7.938 kB / 1.542 GB, free: 6.168 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.951e-05/0.4911, allocations: 58.42 kB / 1.542 GB, free: 6.102 MB / 1.232 GB Notification: Performance of pre-optimization done (n=10): time 1.272e-06/0.4911, allocations: 0 / 1.542 GB, free: 6.102 MB / 1.232 GB Notification: Performance of matching and sorting (n=10): time 0.0006676/0.4917, allocations: 246.1 kB / 1.542 GB, free: 5.855 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.4919, allocations: 294.8 kB / 1.542 GB, free: 5.5 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007382/0.4926, allocations: 0.6838 MB / 1.543 GB, free: 4.809 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 2.289e-05/0.4926, allocations: 29.7 kB / 1.543 GB, free: 4.773 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.4928, allocations: 268.3 kB / 1.543 GB, free: 4.508 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 3.522e-05/0.4929, allocations: 31.7 kB / 1.543 GB, free: 4.477 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.317e-05/0.4929, allocations: 33.64 kB / 1.543 GB, free: 4.438 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4931, allocations: 366.8 kB / 1.544 GB, free: 4.07 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001076/0.4932, allocations: 43.95 kB / 1.544 GB, free: 4.027 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4934, allocations: 89.11 kB / 1.544 GB, free: 3.922 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.4936, allocations: 133 kB / 1.544 GB, free: 3.773 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.4936, allocations: 0 / 1.544 GB, free: 3.773 MB / 1.232 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003311/0.4939, allocations: 193.1 kB / 1.544 GB, free: 3.578 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.494, allocations: 7.938 kB / 1.544 GB, free: 3.57 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.494, allocations: 7.984 kB / 1.544 GB, free: 3.562 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.494, allocations: 336 / 1.544 GB, free: 3.562 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002101/0.4942, allocations: 35.97 kB / 1.544 GB, free: 3.527 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.4942, allocations: 3.984 kB / 1.544 GB, free: 3.523 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.4944, allocations: 67.64 kB / 1.544 GB, free: 3.457 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.4944, allocations: 7.984 kB / 1.544 GB, free: 3.449 MB / 1.232 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.0001907/0.4946, allocations: 201.7 kB / 1.544 GB, free: 3.242 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/0.4948, allocations: 75.52 kB / 1.545 GB, free: 3.168 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.225e-05/0.4949, allocations: 60.25 kB / 1.545 GB, free: 3.102 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.4949, allocations: 4 kB / 1.545 GB, free: 3.098 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.4949, allocations: 0 / 1.545 GB, free: 3.098 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.4949, allocations: 4 kB / 1.545 GB, free: 3.094 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001322/0.4962, allocations: 1.269 MB / 1.546 GB, free: 1.742 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4962, allocations: 8.016 kB / 1.546 GB, free: 1.734 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.4964, allocations: 39.91 kB / 1.546 GB, free: 1.695 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.4964, allocations: 7.984 kB / 1.546 GB, free: 1.688 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.4964, allocations: 12.06 kB / 1.546 GB, free: 1.676 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.4964, allocations: 7.984 kB / 1.546 GB, free: 1.668 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.4965, allocations: 7.875 kB / 1.546 GB, free: 1.66 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003764/0.4968, allocations: 330.8 kB / 1.546 GB, free: 1.293 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.497, allocations: 75.59 kB / 1.546 GB, free: 1.219 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.322e-05/0.497, allocations: 4 kB / 1.546 GB, free: 1.215 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001652/0.4972, allocations: 12.27 kB / 1.546 GB, free: 1.203 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.4972, allocations: 15.92 kB / 1.546 GB, free: 1.188 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.4972, allocations: 4 kB / 1.546 GB, free: 1.184 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005189/0.4977, allocations: 0.5067 MB / 1.547 GB, free: 0.6836 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/0.4977, allocations: 0 / 1.547 GB, free: 0.6836 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0003536/0.4981, allocations: 83.89 kB / 1.547 GB, free: 0.6016 MB / 1.232 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.0007481/0.4988, allocations: 0.8913 MB / 1.548 GB, free: 15.65 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0002869/0.4991, allocations: 107.8 kB / 1.548 GB, free: 15.55 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.4991, allocations: 3.938 kB / 1.548 GB, free: 15.54 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/0.4993, allocations: 56.83 kB / 1.548 GB, free: 15.49 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.5005, allocations: 282.4 kB / 1.548 GB, free: 15.21 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00507/0.5055, allocations: 4.468 MB / 1.553 GB, free: 10.58 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004921/0.506, allocations: 0.9089 MB / 1.553 GB, free: 9.645 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0002409/0.5063, allocations: 100.6 kB / 1.554 GB, free: 9.547 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001931/0.5065, allocations: 175.3 kB / 1.554 GB, free: 9.375 MB / 1.248 GB Notification: Performance of SimCode: time 6.31e-07/0.5065, allocations: 0 / 1.554 GB, free: 9.375 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03554/0.542, allocations: 13.78 MB / 1.567 GB, free: 11.84 MB / 1.264 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.51, allocations: 11.91 kB / 1.567 GB, free: 11.83 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.517317012010608]