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.001861/0.001861, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.002158/0.002158, allocations: 215 kB / 20.13 MB, free: 2.949 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.501/1.501, allocations: 230.6 MB / 253.5 MB, free: 15.13 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.885/2.885, allocations: 476.7 MB / 0.7678 GB, free: 9.352 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_11_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.002029/0.002029, allocations: 64.19 kB / 1.113 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.931/0.933, allocations: 169.9 MB / 1.279 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.246/1.179, allocations: 179.5 MB / 1.454 GB, free: 8.234 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01187/1.191, allocations: 8.77 MB / 1.463 GB, free: 15.45 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009108/1.192, allocations: 27.75 kB / 1.463 GB, free: 15.42 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0009381/1.193, allocations: 305.7 kB / 1.463 GB, free: 15.12 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0009215/1.194, allocations: 326.4 kB / 1.463 GB, free: 14.8 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.001171/1.195, allocations: 376 kB / 1.464 GB, free: 14.43 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.001551/1.196, allocations: 1.152 MB / 1.465 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008186/1.197, allocations: 0.4983 MB / 1.465 GB, free: 12.77 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005363/1.203, allocations: 2.133 MB / 1.467 GB, free: 10.63 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006454/1.203, allocations: 382.3 kB / 1.468 GB, free: 10.25 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 7.777e-05/1.203, allocations: 40 kB / 1.468 GB, free: 10.21 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002529/1.204, allocations: 87.94 kB / 1.468 GB, free: 10.13 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 0.0003027/1.204, allocations: 267.2 kB / 1.468 GB, free: 9.867 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.000338/1.204, allocations: 278.6 kB / 1.468 GB, free: 9.594 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0008948/1.205, allocations: 0.6359 MB / 1.469 GB, free: 8.957 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/1.205, allocations: 4 kB / 1.469 GB, free: 8.953 MB / 1.154 GB Notification: Performance of FrontEnd: time 2.344e-06/1.205, allocations: 4 kB / 1.469 GB, free: 8.949 MB / 1.154 GB Notification: Performance of Transformations before backend: time 1.023e-05/1.205, allocations: 0 / 1.469 GB, free: 8.949 MB / 1.154 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.001358/1.206, allocations: 0.8372 MB / 1.47 GB, free: 8.059 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.207, allocations: 8.031 kB / 1.47 GB, free: 8.051 MB / 1.154 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.122e-05/1.207, allocations: 17.31 kB / 1.47 GB, free: 8.035 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001281/1.207, allocations: 98.44 kB / 1.47 GB, free: 7.93 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001308/1.207, allocations: 67.62 kB / 1.47 GB, free: 7.863 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007429/1.208, allocations: 458.4 kB / 1.471 GB, free: 7.375 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.733e-05/1.208, allocations: 37.31 kB / 1.471 GB, free: 7.34 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.132e-05/1.208, allocations: 55.92 kB / 1.471 GB, free: 7.285 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/1.209, allocations: 0.7049 MB / 1.471 GB, free: 6.496 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/1.209, allocations: 3.938 kB / 1.471 GB, free: 6.492 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.153e-05/1.209, allocations: 27.92 kB / 1.471 GB, free: 6.465 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.714e-05/1.209, allocations: 31.98 kB / 1.471 GB, free: 6.434 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006677/1.21, allocations: 379.4 kB / 1.472 GB, free: 6.062 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00293/1.213, allocations: 3.22 MB / 1.475 GB, free: 2.699 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/1.213, allocations: 218.1 kB / 1.475 GB, free: 2.395 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/1.213, allocations: 128.5 kB / 1.475 GB, free: 2.238 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 1.438e-05/1.213, allocations: 4 kB / 1.475 GB, free: 2.234 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/1.213, allocations: 54.42 kB / 1.475 GB, free: 2.172 MB / 1.154 GB Notification: Performance of pre-optimization done (n=10): time 2.785e-06/1.213, allocations: 0 / 1.475 GB, free: 2.172 MB / 1.154 GB Notification: Performance of matching and sorting (n=10): time 0.0007609/1.214, allocations: 246 kB / 1.476 GB, free: 1.926 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/1.214, allocations: 294.8 kB / 1.476 GB, free: 1.57 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008103/1.215, allocations: 0.6838 MB / 1.476 GB, free: 0.875 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 2.809e-05/1.215, allocations: 33.7 kB / 1.476 GB, free: 0.8359 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002324/1.215, allocations: 264.3 kB / 1.477 GB, free: 0.5742 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 4.271e-05/1.215, allocations: 31.7 kB / 1.477 GB, free: 0.543 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/1.215, allocations: 33.7 kB / 1.477 GB, free: 0.5039 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001948/1.215, allocations: 370.8 kB / 1.477 GB, free: 136 kB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001151/1.216, allocations: 35.95 kB / 1.477 GB, free: 100 kB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/1.216, allocations: 93.05 kB / 1.477 GB, free: 15.99 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002608/1.216, allocations: 129 kB / 1.477 GB, free: 15.84 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/1.216, allocations: 4 kB / 1.477 GB, free: 15.84 MB / 1.17 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003716/1.216, allocations: 193.1 kB / 1.478 GB, free: 15.64 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/1.216, allocations: 11.92 kB / 1.478 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/1.216, allocations: 4.062 kB / 1.478 GB, free: 15.63 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/1.216, allocations: 4 kB / 1.478 GB, free: 15.62 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002426/1.217, allocations: 43.91 kB / 1.478 GB, free: 15.58 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/1.217, allocations: 3.984 kB / 1.478 GB, free: 15.58 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002406/1.217, allocations: 55.7 kB / 1.478 GB, free: 15.52 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.358e-05/1.217, allocations: 11.98 kB / 1.478 GB, free: 15.51 MB / 1.17 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.0002351/1.217, allocations: 201.9 kB / 1.478 GB, free: 15.3 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00024/1.217, allocations: 63.56 kB / 1.478 GB, free: 15.24 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.331e-05/1.217, allocations: 68.25 kB / 1.478 GB, free: 15.17 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.195e-06/1.217, allocations: 0 / 1.478 GB, free: 15.17 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.198e-06/1.218, allocations: 4 kB / 1.478 GB, free: 15.17 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/1.218, allocations: 4 kB / 1.478 GB, free: 15.16 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/1.219, allocations: 1.301 MB / 1.479 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/1.219, allocations: 4 kB / 1.479 GB, free: 13.77 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002051/1.219, allocations: 43.95 kB / 1.479 GB, free: 13.73 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.219, allocations: 4 kB / 1.479 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/1.219, allocations: 4.188 kB / 1.479 GB, free: 13.72 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.219, allocations: 3.938 kB / 1.479 GB, free: 13.71 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/1.219, allocations: 11.88 kB / 1.479 GB, free: 13.7 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/1.22, allocations: 338.9 kB / 1.48 GB, free: 13.33 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/1.22, allocations: 156.6 kB / 1.48 GB, free: 13.16 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.55e-05/1.22, allocations: 4 kB / 1.48 GB, free: 13.15 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001678/1.22, allocations: 11.98 kB / 1.48 GB, free: 13.14 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/1.22, allocations: 15.88 kB / 1.48 GB, free: 13.12 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/1.22, allocations: 8 kB / 1.48 GB, free: 13.12 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0005959/1.221, allocations: 0.499 MB / 1.48 GB, free: 12.62 MB / 1.17 GB Notification: Performance of sort global known variables: time 7e-08/1.221, allocations: 0 / 1.48 GB, free: 12.62 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0004153/1.221, allocations: 79.94 kB / 1.48 GB, free: 12.54 MB / 1.17 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.000909/1.222, allocations: 0.8952 MB / 1.481 GB, free: 11.59 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.0003612/1.222, allocations: 107.8 kB / 1.481 GB, free: 11.49 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.222, allocations: 0 / 1.481 GB, free: 11.49 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.0001581/1.223, allocations: 68.77 kB / 1.482 GB, free: 11.42 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001356/1.224, allocations: 286.8 kB / 1.482 GB, free: 11.15 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00585/1.23, allocations: 4.452 MB / 1.486 GB, free: 6.527 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005362/1.23, allocations: 0.9089 MB / 1.487 GB, free: 5.594 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0003003/1.231, allocations: 104.6 kB / 1.487 GB, free: 5.488 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/1.231, allocations: 171.4 kB / 1.487 GB, free: 5.32 MB / 1.17 GB Notification: Performance of SimCode: time 7.91e-07/1.231, allocations: 0 / 1.487 GB, free: 5.32 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03542/1.266, allocations: 13.65 MB / 1.501 GB, free: 7.902 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.595/10.86, allocations: 7.594 kB / 1.501 GB, free: 7.898 MB / 1.186 GB " [Timeout remaining time 289] (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/jenkins1/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: 17.256939480954316]