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.001489/0.001489, allocations: 116.7 kB / 17.17 MB, free: 5.977 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.001617/0.001617, allocations: 209.6 kB / 20.13 MB, free: 3.035 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.441/1.441, allocations: 230.6 MB / 253.5 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] 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.921/2.921, allocations: 0.5003 GB / 0.8026 GB, free: 6.777 MB / 0.6387 GB " [Timeout remaining time 176] 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.002319/0.002319, allocations: 67.91 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.926/0.9283, allocations: 178.9 MB / 1.34 GB, free: 16.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.2122/1.14, allocations: 179.5 MB / 1.515 GB, free: 4.617 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.01096/1.151, allocations: 8.762 MB / 1.524 GB, free: 11.84 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007103/1.152, allocations: 35.69 kB / 1.524 GB, free: 11.8 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0008532/1.153, allocations: 301.7 kB / 1.524 GB, free: 11.5 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0008578/1.154, allocations: 318.3 kB / 1.525 GB, free: 11.19 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001048/1.155, allocations: 386.3 kB / 1.525 GB, free: 10.82 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.001425/1.156, allocations: 1.133 MB / 1.526 GB, free: 9.684 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007904/1.157, allocations: 0.5022 MB / 1.527 GB, free: 9.176 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004487/1.162, allocations: 2.125 MB / 1.529 GB, free: 7.043 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004834/1.162, allocations: 370.3 kB / 1.529 GB, free: 6.68 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 6.482e-05/1.162, allocations: 40 kB / 1.529 GB, free: 6.641 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000194/1.162, allocations: 79.95 kB / 1.529 GB, free: 6.562 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0002605/1.163, allocations: 275.2 kB / 1.529 GB, free: 6.293 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0002715/1.163, allocations: 286.5 kB / 1.53 GB, free: 6.012 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0007078/1.164, allocations: 0.6301 MB / 1.53 GB, free: 5.379 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/1.164, allocations: 0 / 1.53 GB, free: 5.379 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.302e-06/1.164, allocations: 0 / 1.53 GB, free: 5.379 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.915e-06/1.164, allocations: 0 / 1.53 GB, free: 5.379 MB / 1.201 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.001069/1.165, allocations: 0.8489 MB / 1.531 GB, free: 4.477 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/1.165, allocations: 8.031 kB / 1.531 GB, free: 4.469 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.791e-05/1.165, allocations: 17.31 kB / 1.531 GB, free: 4.453 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001012/1.165, allocations: 102.4 kB / 1.531 GB, free: 4.344 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000102/1.165, allocations: 71.58 kB / 1.531 GB, free: 4.273 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000648/1.166, allocations: 442.5 kB / 1.532 GB, free: 3.801 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.698e-05/1.166, allocations: 41.3 kB / 1.532 GB, free: 3.762 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.678e-05/1.166, allocations: 52 kB / 1.532 GB, free: 3.711 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001016/1.167, allocations: 0.7066 MB / 1.533 GB, free: 2.918 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.835e-05/1.167, allocations: 7.922 kB / 1.533 GB, free: 2.91 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.874e-05/1.167, allocations: 27.94 kB / 1.533 GB, free: 2.883 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.856e-05/1.167, allocations: 31.98 kB / 1.533 GB, free: 2.852 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006467/1.167, allocations: 371.4 kB / 1.533 GB, free: 2.488 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00272/1.17, allocations: 3.224 MB / 1.536 GB, free: 15.12 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/1.17, allocations: 214.1 kB / 1.536 GB, free: 14.82 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002002/1.171, allocations: 128.5 kB / 1.536 GB, free: 14.66 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/1.171, allocations: 3.984 kB / 1.536 GB, free: 14.66 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/1.171, allocations: 50.44 kB / 1.536 GB, free: 14.6 MB / 1.217 GB Notification: Performance of pre-optimization done (n=10): time 1.914e-06/1.171, allocations: 0 / 1.536 GB, free: 14.6 MB / 1.217 GB Notification: Performance of matching and sorting (n=10): time 0.0007055/1.171, allocations: 250 kB / 1.537 GB, free: 14.35 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001632/1.172, allocations: 290.7 kB / 1.537 GB, free: 14 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008013/1.172, allocations: 0.6877 MB / 1.538 GB, free: 13.3 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 2.618e-05/1.172, allocations: 29.7 kB / 1.538 GB, free: 13.27 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.000231/1.173, allocations: 264.3 kB / 1.538 GB, free: 13.01 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/1.173, allocations: 43.88 kB / 1.538 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.652e-05/1.173, allocations: 25.72 kB / 1.538 GB, free: 12.93 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001894/1.173, allocations: 370.8 kB / 1.538 GB, free: 12.56 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001146/1.173, allocations: 31.97 kB / 1.538 GB, free: 12.53 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001777/1.173, allocations: 105 kB / 1.538 GB, free: 12.41 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002497/1.173, allocations: 125 kB / 1.539 GB, free: 12.27 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.173, allocations: 4 kB / 1.539 GB, free: 12.27 MB / 1.217 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003539/1.174, allocations: 193.1 kB / 1.539 GB, free: 12.07 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/1.174, allocations: 12.27 kB / 1.539 GB, free: 12.06 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/1.174, allocations: 0 / 1.539 GB, free: 12.06 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/1.174, allocations: 4 kB / 1.539 GB, free: 12.05 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002303/1.174, allocations: 48.02 kB / 1.539 GB, free: 12.01 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/1.174, allocations: 4 kB / 1.539 GB, free: 12 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002052/1.174, allocations: 59.5 kB / 1.539 GB, free: 11.95 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/1.174, allocations: 8 kB / 1.539 GB, free: 11.94 MB / 1.217 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.000202/1.175, allocations: 199.5 kB / 1.539 GB, free: 11.73 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/1.175, allocations: 71.5 kB / 1.539 GB, free: 11.66 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.507e-05/1.175, allocations: 56.33 kB / 1.539 GB, free: 11.6 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/1.175, allocations: 8 kB / 1.539 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/1.175, allocations: 4 kB / 1.539 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/1.175, allocations: 4 kB / 1.539 GB, free: 11.59 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001421/1.176, allocations: 1.304 MB / 1.541 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/1.176, allocations: 4 kB / 1.541 GB, free: 10.19 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/1.176, allocations: 40.03 kB / 1.541 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/1.176, allocations: 0 / 1.541 GB, free: 10.15 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/1.177, allocations: 11.98 kB / 1.541 GB, free: 10.14 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.491e-06/1.177, allocations: 8.219 kB / 1.541 GB, free: 10.13 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.89e-06/1.177, allocations: 11.94 kB / 1.541 GB, free: 10.12 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004073/1.177, allocations: 330.8 kB / 1.541 GB, free: 9.75 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/1.177, allocations: 152.6 kB / 1.541 GB, free: 9.582 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.981e-05/1.177, allocations: 0 / 1.541 GB, free: 9.582 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001664/1.177, allocations: 15.98 kB / 1.541 GB, free: 9.566 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.303e-05/1.177, allocations: 19.86 kB / 1.541 GB, free: 9.547 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.083e-05/1.177, allocations: 8 kB / 1.541 GB, free: 9.539 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.0005649/1.178, allocations: 0.4915 MB / 1.542 GB, free: 9.055 MB / 1.217 GB Notification: Performance of sort global known variables: time 1e-07/1.178, allocations: 0 / 1.542 GB, free: 9.055 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.0003832/1.178, allocations: 87.89 kB / 1.542 GB, free: 8.969 MB / 1.217 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.0008386/1.179, allocations: 0.8912 MB / 1.543 GB, free: 8.023 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.000327/1.179, allocations: 111.8 kB / 1.543 GB, free: 7.914 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.179, allocations: 384 / 1.543 GB, free: 7.914 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.0001461/1.18, allocations: 59.84 kB / 1.543 GB, free: 7.855 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/1.181, allocations: 291.8 kB / 1.543 GB, free: 7.57 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00584/1.187, allocations: 4.451 MB / 1.547 GB, free: 2.961 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005872/1.187, allocations: 0.9088 MB / 1.548 GB, free: 2.023 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0002991/1.188, allocations: 104.6 kB / 1.548 GB, free: 1.922 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002155/1.188, allocations: 167.4 kB / 1.548 GB, free: 1.762 MB / 1.217 GB Notification: Performance of SimCode: time 1.382e-06/1.188, allocations: 4 kB / 1.548 GB, free: 1.758 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03531/1.223, allocations: 13.66 MB / 1.562 GB, free: 4.344 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.877/10.1, allocations: 9.656 kB / 1.562 GB, free: 4.336 MB / 1.232 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/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.397731331991963]