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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.8/2.8, allocations: 497.2 MB / 0.7812 GB, free: 11.94 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 67.89 kB / 1.134 GB, free: 13.13 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8769/0.879, allocations: 173.9 MB / 1.304 GB, free: 32.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2036/1.083, allocations: 176.6 MB / 1.476 GB, free: 15.83 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.012/1.095, allocations: 8.764 MB / 1.485 GB, free: 8.895 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008813/1.095, allocations: 20.66 kB / 1.485 GB, free: 8.887 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0009693/1.096, allocations: 309.2 kB / 1.485 GB, free: 8.617 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.001019/1.097, allocations: 314.3 kB / 1.486 GB, free: 8.367 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.001141/1.099, allocations: 380.9 kB / 1.486 GB, free: 8.078 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.00224/1.101, allocations: 1.143 MB / 1.487 GB, free: 7.414 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001533/1.102, allocations: 0.4974 MB / 1.488 GB, free: 7.109 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007371/1.11, allocations: 2.121 MB / 1.49 GB, free: 5.676 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008918/1.111, allocations: 379.4 kB / 1.49 GB, free: 5.438 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/1.111, allocations: 39.69 kB / 1.49 GB, free: 5.438 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/1.111, allocations: 80.64 kB / 1.49 GB, free: 5.418 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003783/1.112, allocations: 264.3 kB / 1.49 GB, free: 5.254 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0005395/1.112, allocations: 285.1 kB / 1.491 GB, free: 5.07 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.00118/1.113, allocations: 0.6288 MB / 1.491 GB, free: 4.652 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/1.113, allocations: 1.281 kB / 1.491 GB, free: 4.652 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.823e-06/1.113, allocations: 0 / 1.491 GB, free: 4.652 MB / 1.17 GB Notification: Performance of Transformations before backend: time 3.721e-05/1.113, allocations: 0 / 1.491 GB, free: 4.652 MB / 1.17 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.001596/1.115, allocations: 0.8413 MB / 1.492 GB, free: 3.934 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/1.115, allocations: 10.03 kB / 1.492 GB, free: 3.934 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001629/1.115, allocations: 98.84 kB / 1.492 GB, free: 3.848 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/1.115, allocations: 72.27 kB / 1.492 GB, free: 3.809 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009456/1.116, allocations: 445.2 kB / 1.493 GB, free: 3.441 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/1.116, allocations: 39.27 kB / 1.493 GB, free: 3.426 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.113e-05/1.116, allocations: 51.88 kB / 1.493 GB, free: 3.41 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001253/1.118, allocations: 0.7097 MB / 1.493 GB, free: 2.871 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.382e-05/1.118, allocations: 6.281 kB / 1.493 GB, free: 2.867 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.26e-05/1.118, allocations: 30.22 kB / 1.493 GB, free: 2.844 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.707e-05/1.118, allocations: 30.7 kB / 1.494 GB, free: 2.836 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000705/1.118, allocations: 376.3 kB / 1.494 GB, free: 2.656 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003276/1.122, allocations: 3.231 MB / 1.497 GB, free: 15.67 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/1.122, allocations: 218.9 kB / 1.497 GB, free: 15.39 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/1.122, allocations: 121.7 kB / 1.497 GB, free: 15.29 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/1.122, allocations: 6.141 kB / 1.497 GB, free: 15.28 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.395e-05/1.122, allocations: 46.81 kB / 1.497 GB, free: 15.23 MB / 1.186 GB Notification: Performance of pre-optimization done (n=10): time 1.953e-06/1.122, allocations: 0 / 1.497 GB, free: 15.23 MB / 1.186 GB Notification: Performance of matching and sorting (n=10): time 0.0007588/1.123, allocations: 257.7 kB / 1.498 GB, free: 15.08 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001605/1.123, allocations: 289.6 kB / 1.498 GB, free: 14.73 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009378/1.124, allocations: 0.683 MB / 1.499 GB, free: 14.35 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/1.124, allocations: 32.48 kB / 1.499 GB, free: 14.32 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/1.124, allocations: 272 kB / 1.499 GB, free: 14.08 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/1.125, allocations: 36.78 kB / 1.499 GB, free: 14.05 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.595e-05/1.125, allocations: 29.25 kB / 1.499 GB, free: 14.02 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001989/1.125, allocations: 369.9 kB / 1.499 GB, free: 13.67 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/1.125, allocations: 31.94 kB / 1.499 GB, free: 13.66 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/1.125, allocations: 101.9 kB / 1.499 GB, free: 13.57 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002584/1.125, allocations: 123.6 kB / 1.5 GB, free: 13.48 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/1.125, allocations: 0 / 1.5 GB, free: 13.48 MB / 1.186 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004543/1.126, allocations: 193.6 kB / 1.5 GB, free: 13.37 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/1.126, allocations: 10.39 kB / 1.5 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.126, allocations: 1 kB / 1.5 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/1.126, allocations: 2.281 kB / 1.5 GB, free: 13.37 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002249/1.126, allocations: 54.67 kB / 1.5 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/1.126, allocations: 2.25 kB / 1.5 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/1.126, allocations: 56.72 kB / 1.5 GB, free: 13.3 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.722e-05/1.126, allocations: 6.031 kB / 1.5 GB, free: 13.3 MB / 1.186 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.0002621/1.127, allocations: 201.9 kB / 1.5 GB, free: 13.14 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/1.127, allocations: 68.61 kB / 1.5 GB, free: 13.1 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000123/1.127, allocations: 61.67 kB / 1.5 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/1.127, allocations: 3.562 kB / 1.5 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.127, allocations: 2.469 kB / 1.5 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.411e-06/1.127, allocations: 3.625 kB / 1.5 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001714/1.129, allocations: 1.302 MB / 1.501 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/1.129, allocations: 2.062 kB / 1.501 GB, free: 11.84 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002009/1.129, allocations: 43.97 kB / 1.502 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/1.129, allocations: 3.281 kB / 1.502 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/1.129, allocations: 11.7 kB / 1.502 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/1.129, allocations: 3.188 kB / 1.502 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/1.129, allocations: 2.344 kB / 1.502 GB, free: 11.82 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000442/1.129, allocations: 337.8 kB / 1.502 GB, free: 11.52 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00025/1.13, allocations: 160.6 kB / 1.502 GB, free: 11.37 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.892e-05/1.13, allocations: 4.125 kB / 1.502 GB, free: 11.37 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001878/1.13, allocations: 21.28 kB / 1.502 GB, free: 11.36 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/1.13, allocations: 13.23 kB / 1.502 GB, free: 11.35 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/1.13, allocations: 6 kB / 1.502 GB, free: 11.35 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006564/1.131, allocations: 0.493 MB / 1.503 GB, free: 11.07 MB / 1.186 GB Notification: Performance of sort global known variables: time 8e-08/1.131, allocations: 1.375 kB / 1.503 GB, free: 11.07 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000468/1.131, allocations: 81.38 kB / 1.503 GB, free: 11.06 MB / 1.186 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.001058/1.132, allocations: 0.9037 MB / 1.503 GB, free: 10.21 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0003388/1.133, allocations: 109.4 kB / 1.504 GB, free: 10.16 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/1.133, allocations: 1.031 kB / 1.504 GB, free: 10.16 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.0001476/1.133, allocations: 56.53 kB / 1.504 GB, free: 10.14 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/1.134, allocations: 290.9 kB / 1.504 GB, free: 9.918 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006271/1.14, allocations: 4.462 MB / 1.508 GB, free: 5.289 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006117/1.141, allocations: 0.9088 MB / 1.509 GB, free: 4.355 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0003373/1.141, allocations: 104.6 kB / 1.509 GB, free: 4.25 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002149/1.142, allocations: 171.4 kB / 1.509 GB, free: 4.086 MB / 1.186 GB Notification: Performance of SimCode: time 8.52e-07/1.142, allocations: 0 / 1.509 GB, free: 4.086 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04455/1.186, allocations: 13.67 MB / 1.523 GB, free: 6.645 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.023/10.21, allocations: 2.344 kB / 1.523 GB, free: 6.645 MB / 1.201 GB " [Timeout remaining time 290] (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_2/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: 16.26211189618334]