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) 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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 108 kB / 15.61 MB, free: 152 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.001103/0.001103, allocations: 193.6 kB / 16.53 MB, free: 6.699 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.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.57/2.57, allocations: 461.9 MB / 0.7346 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001398/0.001398, allocations: 63.09 kB / 0.8992 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2449/0.2463, allocations: 157.4 MB / 1.053 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1611/0.4074, allocations: 176 MB / 1.225 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.008665/0.4161, allocations: 8.713 MB / 1.233 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004168/0.4165, allocations: 19.88 kB / 1.233 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006195/0.4172, allocations: 301.8 kB / 1.234 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005707/0.4178, allocations: 306.4 kB / 1.234 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008245/0.4186, allocations: 382.5 kB / 1.234 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000972/0.4196, allocations: 1.152 MB / 1.235 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006956/0.4203, allocations: 0.5842 MB / 1.236 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003739/0.424, allocations: 2.066 MB / 1.238 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003626/0.4244, allocations: 350.4 kB / 1.238 GB, free: 9.727 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.509e-05/0.4245, allocations: 44 kB / 1.238 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00018/0.4247, allocations: 75.97 kB / 1.238 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.00022/0.4249, allocations: 255.4 kB / 1.239 GB, free: 9.359 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.4252, allocations: 290.4 kB / 1.239 GB, free: 9.074 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005383/0.4257, allocations: 0.6112 MB / 1.239 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.4257, allocations: 0 / 1.239 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.093e-06/0.4257, allocations: 0 / 1.239 GB, free: 8.461 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.4257, allocations: 0 / 1.239 GB, free: 8.461 MB / 0.9981 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.0008959/0.4266, allocations: 0.8159 MB / 1.24 GB, free: 7.594 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.401e-05/0.4267, allocations: 12.62 kB / 1.24 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.032e-05/0.4268, allocations: 98.52 kB / 1.24 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.4269, allocations: 71.19 kB / 1.24 GB, free: 7.406 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004713/0.4274, allocations: 410.1 kB / 1.241 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.96e-05/0.4274, allocations: 41.3 kB / 1.241 GB, free: 6.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.094e-05/0.4275, allocations: 52 kB / 1.241 GB, free: 6.875 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008955/0.4284, allocations: 0.7066 MB / 1.242 GB, free: 6.086 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.4284, allocations: 7.922 kB / 1.242 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.16e-05/0.4284, allocations: 27.94 kB / 1.242 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.4285, allocations: 35.92 kB / 1.242 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005983/0.4291, allocations: 379.4 kB / 1.242 GB, free: 5.645 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002212/0.4313, allocations: 3.223 MB / 1.245 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002262/0.4316, allocations: 214.1 kB / 1.245 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.4317, allocations: 132.6 kB / 1.246 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.334e-05/0.4318, allocations: 4 kB / 1.246 GB, free: 1.812 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.4318, allocations: 50.48 kB / 1.246 GB, free: 1.754 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=10): time 1.773e-06/0.4318, allocations: 3.938 kB / 1.246 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10): time 0.000654/0.4325, allocations: 249.6 kB / 1.246 GB, free: 1.5 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.4326, allocations: 298.8 kB / 1.246 GB, free: 1.141 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006707/0.4333, allocations: 0.6838 MB / 1.247 GB, free: 460 kB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.4333, allocations: 29.7 kB / 1.247 GB, free: 424 kB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001828/0.4335, allocations: 272.1 kB / 1.247 GB, free: 148 kB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.127e-05/0.4335, allocations: 31.55 kB / 1.247 GB, free: 116 kB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.326e-05/0.4336, allocations: 33.62 kB / 1.247 GB, free: 76 kB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.4172/0.8508, allocations: 372 kB / 1.247 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.851, allocations: 28.16 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001728/0.8512, allocations: 95.8 kB / 1.248 GB, free: 197.1 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002364/0.8515, allocations: 130.3 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.8515, allocations: 4.062 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000397/0.8519, allocations: 182.8 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.775e-05/0.8519, allocations: 10.94 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.8519, allocations: 2.562 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.8519, allocations: 1.875 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002255/0.8522, allocations: 42.69 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.8522, allocations: 7.266 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.8524, allocations: 54.33 kB / 1.248 GB, free: 197 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.254e-05/0.8524, allocations: 7.875 kB / 1.248 GB, free: 197 MB / 0.9981 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.0002108/0.8526, allocations: 199 kB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/0.8529, allocations: 59.59 kB / 1.248 GB, free: 196.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.715e-05/0.8529, allocations: 64.05 kB / 1.248 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.853, allocations: 4.062 kB / 1.248 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.853, allocations: 7.469 kB / 1.248 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.853, allocations: 3.062 kB / 1.248 GB, free: 196.8 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001106/0.8541, allocations: 1.3 MB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.8541, allocations: 7.109 kB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000194/0.8543, allocations: 46.94 kB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.8543, allocations: 11.53 kB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.8543, allocations: 2.656 kB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.8543, allocations: 4.766 kB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.8544, allocations: 2.812 kB / 1.25 GB, free: 195.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003189/0.8547, allocations: 336.8 kB / 1.25 GB, free: 195.6 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.8548, allocations: 150.2 kB / 1.25 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6e-05/0.8549, allocations: 8.406 kB / 1.25 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001709/0.855, allocations: 7.219 kB / 1.25 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.8551, allocations: 19.42 kB / 1.25 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.153e-06/0.8551, allocations: 5.281 kB / 1.25 GB, free: 195.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000477/0.8556, allocations: 0.4974 MB / 1.251 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8556, allocations: 0 / 1.251 GB, free: 195.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003741/0.856, allocations: 80.86 kB / 1.251 GB, free: 195.4 MB / 0.9981 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.0006252/0.8566, allocations: 0.8974 MB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002875/0.8569, allocations: 114.2 kB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.8569, allocations: 0 / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.8571, allocations: 65.25 kB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001289/0.8584, allocations: 285.1 kB / 1.252 GB, free: 194.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.8623, allocations: 4.566 MB / 1.257 GB, free: 192.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002401/0.8625, allocations: 0.9058 MB / 1.257 GB, free: 192 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002106/0.8627, allocations: 107.4 kB / 1.258 GB, free: 192 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.8629, allocations: 167.3 kB / 1.258 GB, free: 192 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.8629, allocations: 0 / 1.258 GB, free: 192 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3365/1.199, allocations: 13.49 MB / 1.271 GB, free: 189.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.085/9.284, allocations: 6.984 kB / 1.271 GB, free: 189.5 MB / 0.9981 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_h.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) 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) Reference file matches