Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009182/0.0009182, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009998/0.0009998, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9112/0.9112, allocations: 177.2 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.694/1.694, allocations: 359 MB / 0.6037 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.054e-06/2.054e-06, allocations: 0 / 0.9505 GB, free: 3.469 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.674e-05/1.88e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.465 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.5908/0.5908, allocations: 155.2 MB / 1.102 GB, free: 37.51 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.006522/0.5973, allocations: 7.972 MB / 1.11 GB, free: 35.28 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003506/0.5977, allocations: 28.31 kB / 1.11 GB, free: 35.27 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006172/0.5983, allocations: 317.1 kB / 1.11 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.000519/0.5988, allocations: 327.5 kB / 1.111 GB, free: 34.92 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007495/0.5995, allocations: 439.8 kB / 1.111 GB, free: 34.75 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0007534/0.6003, allocations: 1.15 MB / 1.112 GB, free: 34.29 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004764/0.6008, allocations: 436.9 kB / 1.112 GB, free: 34.11 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002951/0.6037, allocations: 2.257 MB / 1.115 GB, free: 33.29 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003001/0.604, allocations: 322.8 kB / 1.115 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 5.122e-05/0.6041, allocations: 43.5 kB / 1.115 GB, free: 33.23 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001493/0.6042, allocations: 88.42 kB / 1.115 GB, free: 33.21 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.6044, allocations: 279.2 kB / 1.115 GB, free: 33.12 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.6046, allocations: 184.7 kB / 1.116 GB, free: 33.06 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005729/0.6051, allocations: 0.6366 MB / 1.116 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6051, allocations: 0.9375 kB / 1.116 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.904e-06/0.6051, allocations: 3.938 kB / 1.116 GB, free: 32.85 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.6052, allocations: 1.469 kB / 1.116 GB, free: 32.85 MB / 0.9948 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.000727/0.6059, allocations: 0.7523 MB / 1.117 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.6059, allocations: 9.062 kB / 1.117 GB, free: 32.3 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.151e-05/0.606, allocations: 99.19 kB / 1.117 GB, free: 32.23 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.684e-05/0.6061, allocations: 76.33 kB / 1.117 GB, free: 32.19 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004726/0.6065, allocations: 379.9 kB / 1.117 GB, free: 31.95 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.953e-05/0.6066, allocations: 38.25 kB / 1.118 GB, free: 31.94 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.116e-05/0.6066, allocations: 52.88 kB / 1.118 GB, free: 31.92 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006999/0.6073, allocations: 0.6965 MB / 1.118 GB, free: 31.52 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.6073, allocations: 6.062 kB / 1.118 GB, free: 31.51 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.766e-05/0.6074, allocations: 24.81 kB / 1.118 GB, free: 31.5 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.031e-05/0.6074, allocations: 42.11 kB / 1.118 GB, free: 31.48 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.6078, allocations: 380.8 kB / 1.119 GB, free: 31.36 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001372/0.6092, allocations: 3.052 MB / 1.122 GB, free: 28.76 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001381/0.6093, allocations: 228.3 kB / 1.122 GB, free: 28.48 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/0.6095, allocations: 125.2 kB / 1.122 GB, free: 28.39 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.6095, allocations: 8.922 kB / 1.122 GB, free: 28.38 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.6095, allocations: 46.52 kB / 1.122 GB, free: 28.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.192e-06/0.6095, allocations: 4.266 kB / 1.122 GB, free: 28.33 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0004229/0.6099, allocations: 247 kB / 1.122 GB, free: 28.23 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.61, allocations: 299.9 kB / 1.123 GB, free: 27.87 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000563/0.6105, allocations: 0.6892 MB / 1.123 GB, free: 27.59 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.244e-05/0.6105, allocations: 27.08 kB / 1.123 GB, free: 27.56 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.6107, allocations: 269.7 kB / 1.124 GB, free: 27.34 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.6107, allocations: 36.11 kB / 1.124 GB, free: 27.32 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.6107, allocations: 32.77 kB / 1.124 GB, free: 27.29 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.973e-05/0.6108, allocations: 367.7 kB / 1.124 GB, free: 26.96 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.616e-05/0.6109, allocations: 38.23 kB / 1.124 GB, free: 26.95 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001083/0.611, allocations: 223.1 kB / 1.124 GB, free: 26.73 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001443/0.6111, allocations: 131.6 kB / 1.124 GB, free: 26.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.6111, allocations: 0 / 1.124 GB, free: 26.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000203/0.6113, allocations: 196.8 kB / 1.125 GB, free: 26.56 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.197e-05/0.6113, allocations: 4.156 kB / 1.125 GB, free: 26.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6113, allocations: 2.312 kB / 1.125 GB, free: 26.56 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.6113, allocations: 2.75 kB / 1.125 GB, free: 26.56 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001314/0.6115, allocations: 37.48 kB / 1.125 GB, free: 26.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.6115, allocations: 7.25 kB / 1.125 GB, free: 26.56 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001162/0.6116, allocations: 59.22 kB / 1.125 GB, free: 26.52 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.6116, allocations: 11.92 kB / 1.125 GB, free: 26.52 MB / 0.9948 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.0001383/0.6118, allocations: 202.3 kB / 1.125 GB, free: 26.37 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001119/0.6119, allocations: 59.98 kB / 1.125 GB, free: 26.34 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.181e-05/0.6119, allocations: 63.64 kB / 1.125 GB, free: 26.31 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.6119, allocations: 2.781 kB / 1.125 GB, free: 26.31 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.6119, allocations: 8.5 kB / 1.125 GB, free: 26.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.612, allocations: 3.469 kB / 1.125 GB, free: 26.3 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008531/0.6128, allocations: 1.239 MB / 1.126 GB, free: 25.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.6128, allocations: 2.75 kB / 1.126 GB, free: 25.25 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001176/0.6129, allocations: 42.88 kB / 1.126 GB, free: 25.25 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6129, allocations: 2.75 kB / 1.126 GB, free: 25.25 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.6129, allocations: 4.875 kB / 1.126 GB, free: 25.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.6129, allocations: 3.453 kB / 1.126 GB, free: 25.25 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.613, allocations: 3.641 kB / 1.126 GB, free: 25.25 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.6132, allocations: 348.2 kB / 1.127 GB, free: 24.97 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 8.565e-05/0.6133, allocations: 71.36 kB / 1.127 GB, free: 24.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.621e-05/0.6133, allocations: 8.938 kB / 1.127 GB, free: 24.93 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.6134, allocations: 11.97 kB / 1.127 GB, free: 24.93 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.6134, allocations: 14.16 kB / 1.127 GB, free: 24.92 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.414e-06/0.6135, allocations: 12.06 kB / 1.127 GB, free: 24.91 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0004368/0.6139, allocations: 0.4913 MB / 1.127 GB, free: 24.71 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.6139, allocations: 4 kB / 1.127 GB, free: 24.71 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0002799/0.6142, allocations: 85.94 kB / 1.127 GB, free: 24.7 MB / 0.9948 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.000419/0.6146, allocations: 0.8848 MB / 1.128 GB, free: 23.91 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001913/0.6148, allocations: 109.7 kB / 1.128 GB, free: 23.88 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.6148, allocations: 1.375 kB / 1.128 GB, free: 23.88 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.926e-05/0.6149, allocations: 58.33 kB / 1.128 GB, free: 23.86 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000767/0.6156, allocations: 287.3 kB / 1.129 GB, free: 23.78 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003899/0.6195, allocations: 4.463 MB / 1.133 GB, free: 21.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.6198, allocations: 307.6 kB / 1.133 GB, free: 21.27 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000212/0.62, allocations: 105.8 kB / 1.133 GB, free: 21.26 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.6201, allocations: 170 kB / 1.133 GB, free: 21.13 MB / 0.9948 GB Notification: Performance of SimCode: time 5.11e-07/0.6201, allocations: 0 / 1.133 GB, free: 21.13 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03006/0.6502, allocations: 15.26 MB / 1.148 GB, free: 19.08 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.104/7.754, allocations: 3.594 kB / 1.148 GB, free: 19.08 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.910397090949118]