Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001902/0.001902, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 196.1 kB / 16.53 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.215 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.3 MB / 0.6647 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002174/0.002174, allocations: 63.89 kB / 0.8126 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6042/0.6064, allocations: 140.4 MB / 0.9497 GB, free: 9.215 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1699/0.7764, allocations: 176 MB / 1.122 GB, free: 1.188 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.008826/0.7852, allocations: 8.708 MB / 1.13 GB, free: 8.457 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.7856, allocations: 19.88 kB / 1.13 GB, free: 8.438 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0006296/0.7863, allocations: 301.8 kB / 1.13 GB, free: 8.141 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0005831/0.7869, allocations: 306.4 kB / 1.131 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008375/0.7878, allocations: 378.7 kB / 1.131 GB, free: 7.473 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0009565/0.7887, allocations: 1.145 MB / 1.132 GB, free: 6.32 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000714/0.7895, allocations: 0.5881 MB / 1.133 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003769/0.7932, allocations: 2.062 MB / 1.135 GB, free: 3.66 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.7936, allocations: 342.5 kB / 1.135 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 6.432e-05/0.7937, allocations: 40 kB / 1.135 GB, free: 3.285 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001915/0.7939, allocations: 75.97 kB / 1.135 GB, free: 3.211 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.7941, allocations: 263.3 kB / 1.135 GB, free: 2.953 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0002503/0.7944, allocations: 290.5 kB / 1.136 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0005446/0.7949, allocations: 0.6035 MB / 1.136 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.7949, allocations: 0 / 1.136 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.583e-06/0.795, allocations: 0 / 1.136 GB, free: 2.062 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.217e-06/0.795, allocations: 0 / 1.136 GB, free: 2.062 MB / 0.8887 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.0009271/0.7959, allocations: 0.8262 MB / 1.137 GB, free: 1.188 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.7959, allocations: 8.031 kB / 1.137 GB, free: 1.18 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.543e-05/0.796, allocations: 102.4 kB / 1.137 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.791e-05/0.7962, allocations: 71.19 kB / 1.137 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004756/0.7966, allocations: 410.2 kB / 1.138 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.7967, allocations: 45.3 kB / 1.138 GB, free: 0.5195 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.932e-05/0.7967, allocations: 48 kB / 1.138 GB, free: 484 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009278/0.7977, allocations: 0.7105 MB / 1.138 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.7977, allocations: 0 / 1.138 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.499e-05/0.7978, allocations: 23.94 kB / 1.138 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.848e-05/0.7978, allocations: 31.92 kB / 1.139 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.7984, allocations: 385.8 kB / 1.139 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002407/0.8008, allocations: 3.227 MB / 1.142 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000267/0.8011, allocations: 222.1 kB / 1.142 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001948/0.8013, allocations: 132.5 kB / 1.142 GB, free: 11.41 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.649e-05/0.8014, allocations: 7.938 kB / 1.142 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.8014, allocations: 42.5 kB / 1.142 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=10): time 1.482e-06/0.8014, allocations: 0 / 1.142 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.0006966/0.8021, allocations: 252.5 kB / 1.143 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001289/0.8022, allocations: 303.9 kB / 1.143 GB, free: 10.73 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.8029, allocations: 0.6803 MB / 1.144 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.803, allocations: 29.7 kB / 1.144 GB, free: 10 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.8032, allocations: 264.2 kB / 1.144 GB, free: 9.742 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.177e-05/0.8032, allocations: 39.48 kB / 1.144 GB, free: 9.703 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/0.8032, allocations: 29.7 kB / 1.144 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.8034, allocations: 366.8 kB / 1.144 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.8035, allocations: 35.95 kB / 1.144 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.8037, allocations: 97.11 kB / 1.144 GB, free: 9.152 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000239/0.8039, allocations: 133 kB / 1.145 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8039, allocations: 0 / 1.145 GB, free: 9.004 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003328/0.8043, allocations: 188.9 kB / 1.145 GB, free: 8.812 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.8043, allocations: 11.94 kB / 1.145 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.02e-06/0.8043, allocations: 0 / 1.145 GB, free: 8.801 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.8043, allocations: 4 kB / 1.145 GB, free: 8.797 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.8045, allocations: 39.95 kB / 1.145 GB, free: 8.758 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.8046, allocations: 4 kB / 1.145 GB, free: 8.754 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.8048, allocations: 51.36 kB / 1.145 GB, free: 8.703 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.16e-05/0.8048, allocations: 8 kB / 1.145 GB, free: 8.695 MB / 0.9044 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.0001891/0.805, allocations: 213.7 kB / 1.145 GB, free: 8.477 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.8052, allocations: 63.19 kB / 1.145 GB, free: 8.414 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.637e-05/0.8053, allocations: 56.39 kB / 1.145 GB, free: 8.352 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.761e-06/0.8053, allocations: 8 kB / 1.145 GB, free: 8.344 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8053, allocations: 4 kB / 1.145 GB, free: 8.34 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.8053, allocations: 7.984 kB / 1.145 GB, free: 8.332 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001244/0.8066, allocations: 1.293 MB / 1.146 GB, free: 6.949 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.8066, allocations: 4 kB / 1.146 GB, free: 6.945 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.8068, allocations: 52.17 kB / 1.147 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.8068, allocations: 0 / 1.147 GB, free: 6.895 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.8068, allocations: 4 kB / 1.147 GB, free: 6.891 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.8068, allocations: 4 kB / 1.147 GB, free: 6.887 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8068, allocations: 8.125 kB / 1.147 GB, free: 6.879 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.8072, allocations: 342.4 kB / 1.147 GB, free: 6.5 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.8074, allocations: 152.3 kB / 1.147 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.8074, allocations: 0 / 1.147 GB, free: 6.332 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.8076, allocations: 12 kB / 1.147 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.131e-05/0.8077, allocations: 11.92 kB / 1.147 GB, free: 6.309 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.953e-06/0.8077, allocations: 4 kB / 1.147 GB, free: 6.305 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0005273/0.8082, allocations: 0.4951 MB / 1.148 GB, free: 5.816 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.513e-06/0.8082, allocations: 7.938 kB / 1.148 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003651/0.8086, allocations: 83.94 kB / 1.148 GB, free: 5.727 MB / 0.9044 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.0007862/0.8094, allocations: 0.9109 MB / 1.148 GB, free: 4.766 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003015/0.8097, allocations: 99.8 kB / 1.149 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.8097, allocations: 4 kB / 1.149 GB, free: 4.664 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001503/0.8099, allocations: 64.77 kB / 1.149 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00133/0.8112, allocations: 287.6 kB / 1.149 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.8162, allocations: 4.579 MB / 1.153 GB, free: 15.58 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004121/0.8166, allocations: 0.9011 MB / 1.154 GB, free: 14.66 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.0002502/0.8169, allocations: 108.6 kB / 1.154 GB, free: 14.55 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.8171, allocations: 171.4 kB / 1.155 GB, free: 14.38 MB / 0.92 GB Notification: Performance of SimCode: time 2.3e-07/0.8171, allocations: 0 / 1.155 GB, free: 14.38 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03825/0.8553, allocations: 13.47 MB / 1.168 GB, free: 1.129 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.971/8.826, allocations: 3.5 kB / 1.168 GB, free: 1.129 MB / 0.92 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches