Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.PropertySource_T,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T",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.007281/0.007281, allocations: 101.2 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 190.9 kB / 16.67 MB, free: 5.969 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.224/1.224, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.42/2.42, allocations: 482.6 MB / 0.7551 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 68.22 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2698, allocations: 162.3 MB / 1.242 GB, free: 8.84 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1878/0.4576, allocations: 194.1 MB / 1.431 GB, free: 5.957 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01096/0.4686, allocations: 10.07 MB / 1.441 GB, free: 11.87 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005759/0.4692, allocations: 31.81 kB / 1.441 GB, free: 11.84 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0007921/0.47, allocations: 397 kB / 1.442 GB, free: 11.45 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.002033/0.4721, allocations: 1.011 MB / 1.443 GB, free: 10.43 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.002472/0.4746, allocations: 1.284 MB / 1.444 GB, free: 9.145 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.001567/0.4761, allocations: 1.678 MB / 1.446 GB, free: 7.457 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009639/0.4771, allocations: 0.8432 MB / 1.446 GB, free: 6.59 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002788/0.4799, allocations: 1.631 MB / 1.448 GB, free: 4.953 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005327/0.4805, allocations: 0.5095 MB / 1.448 GB, free: 4.441 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 9.546e-05/0.4806, allocations: 67.98 kB / 1.449 GB, free: 4.375 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001911/0.4825, allocations: 1.395 MB / 1.45 GB, free: 2.977 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0003105/0.4828, allocations: 347.1 kB / 1.45 GB, free: 2.637 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0003779/0.4832, allocations: 433.8 kB / 1.451 GB, free: 2.211 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.4849, allocations: 1.514 MB / 1.452 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.4849, allocations: 0 / 1.452 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.142e-06/0.4849, allocations: 0 / 1.452 GB, free: 0.6914 MB / 1.17 GB Notification: Performance of Transformations before backend: time 9.007e-06/0.4849, allocations: 4 kB / 1.452 GB, free: 0.6875 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001345/0.4863, allocations: 1.168 MB / 1.453 GB, free: 15.47 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.4863, allocations: 12.03 kB / 1.453 GB, free: 15.46 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001196/0.4864, allocations: 130.5 kB / 1.453 GB, free: 15.32 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.4879, allocations: 295.1 kB / 1.454 GB, free: 15.03 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008311/0.4888, allocations: 0.5745 MB / 1.454 GB, free: 14.42 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.303e-05/0.4888, allocations: 50 kB / 1.454 GB, free: 14.37 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-05/0.4889, allocations: 79.98 kB / 1.454 GB, free: 14.29 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.4901, allocations: 0.8908 MB / 1.455 GB, free: 13.34 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.208e-05/0.4901, allocations: 7.922 kB / 1.455 GB, free: 13.33 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.699e-05/0.4902, allocations: 32 kB / 1.455 GB, free: 13.3 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.4903, allocations: 41.3 kB / 1.455 GB, free: 13.26 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008962/0.4912, allocations: 0.5787 MB / 1.456 GB, free: 12.68 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003156/0.4943, allocations: 3.506 MB / 1.459 GB, free: 8.984 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/0.4947, allocations: 215.7 kB / 1.46 GB, free: 8.746 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/0.4949, allocations: 154.5 kB / 1.46 GB, free: 8.586 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006784/0.4956, allocations: 481.4 kB / 1.46 GB, free: 8.023 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.4956, allocations: 38.56 kB / 1.46 GB, free: 7.977 MB / 1.186 GB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.4956, allocations: 0 / 1.46 GB, free: 7.977 MB / 1.186 GB Notification: Performance of matching and sorting (n=21): time 0.001069/0.4967, allocations: 462.8 kB / 1.461 GB, free: 7.52 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.4968, allocations: 110.8 kB / 1.461 GB, free: 7.387 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009282/0.4977, allocations: 0.8645 MB / 1.462 GB, free: 6.508 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 2.609e-05/0.4977, allocations: 29.7 kB / 1.462 GB, free: 6.473 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000282/0.498, allocations: 392.2 kB / 1.462 GB, free: 6.086 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.4981, allocations: 71.38 kB / 1.462 GB, free: 6.016 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.668e-05/0.4982, allocations: 65.77 kB / 1.462 GB, free: 5.945 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.4983, allocations: 314 kB / 1.462 GB, free: 5.633 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002041/0.4985, allocations: 99.92 kB / 1.462 GB, free: 5.535 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002912/0.4988, allocations: 211 kB / 1.463 GB, free: 5.289 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004571/0.4993, allocations: 308.3 kB / 1.463 GB, free: 4.949 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.4993, allocations: 0 / 1.463 GB, free: 4.949 MB / 1.186 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000626/0.4999, allocations: 412.7 kB / 1.463 GB, free: 4.539 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.374e-05/0.5, allocations: 11.94 kB / 1.463 GB, free: 4.527 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.5, allocations: 0 / 1.463 GB, free: 4.527 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.5, allocations: 8.281 kB / 1.463 GB, free: 4.52 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002745/0.5003, allocations: 67.91 kB / 1.463 GB, free: 4.453 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.5003, allocations: 4 kB / 1.463 GB, free: 4.449 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003419/0.5006, allocations: 87.27 kB / 1.464 GB, free: 4.363 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.96e-05/0.5007, allocations: 12 kB / 1.464 GB, free: 4.352 MB / 1.186 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (32): * Single equations (assignments): 32 * 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.0002312/0.5009, allocations: 229.7 kB / 1.464 GB, free: 4.117 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.501, allocations: 83.48 kB / 1.464 GB, free: 4.035 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005646/0.5016, allocations: 328.7 kB / 1.464 GB, free: 3.707 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5016, allocations: 4 kB / 1.464 GB, free: 3.703 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5016, allocations: 0 / 1.464 GB, free: 3.703 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.5016, allocations: 3.938 kB / 1.464 GB, free: 3.699 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001732/0.5034, allocations: 1.373 MB / 1.466 GB, free: 2.215 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.5034, allocations: 4 kB / 1.466 GB, free: 2.211 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.5036, allocations: 47.91 kB / 1.466 GB, free: 2.164 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.5036, allocations: 4 kB / 1.466 GB, free: 2.16 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.416e-05/0.5036, allocations: 15.94 kB / 1.466 GB, free: 2.145 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.5036, allocations: 8.469 kB / 1.466 GB, free: 2.137 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5036, allocations: 8 kB / 1.466 GB, free: 2.129 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005901/0.5042, allocations: 0.5154 MB / 1.466 GB, free: 1.547 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002061/0.5044, allocations: 184.5 kB / 1.466 GB, free: 1.348 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.746e-05/0.5045, allocations: 11.98 kB / 1.466 GB, free: 1.336 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.5048, allocations: 19.94 kB / 1.466 GB, free: 1.316 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.13e-05/0.5049, allocations: 31.84 kB / 1.466 GB, free: 1.285 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.72e-05/0.5049, allocations: 12 kB / 1.466 GB, free: 1.273 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0006797/0.5056, allocations: 0.6083 MB / 1.467 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5056, allocations: 0 / 1.467 GB, free: 0.6719 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004727/0.506, allocations: 167.7 kB / 1.467 GB, free: 0.5078 MB / 1.186 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (21): * Single equations (assignments): 21 * 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.001141/0.5072, allocations: 1.148 MB / 1.468 GB, free: 15.29 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0004996/0.5077, allocations: 264.1 kB / 1.468 GB, free: 15.03 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.5077, allocations: 4 kB / 1.468 GB, free: 15.02 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 0.0002321/0.508, allocations: 123.7 kB / 1.469 GB, free: 14.9 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001593/0.5096, allocations: 429.7 kB / 1.469 GB, free: 14.5 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006745/0.5163, allocations: 6.009 MB / 1.475 GB, free: 8.172 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.5169, allocations: 0.9917 MB / 1.476 GB, free: 7.152 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0003945/0.5173, allocations: 154.2 kB / 1.476 GB, free: 7 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000312/0.5176, allocations: 275.3 kB / 1.476 GB, free: 6.73 MB / 1.201 GB Notification: Performance of SimCode: time 2.31e-07/0.5176, allocations: 0 / 1.476 GB, free: 6.73 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.347/1.865, allocations: 20.76 MB / 1.497 GB, free: 2.301 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.91/17.78, allocations: 10.75 kB / 1.497 GB, free: 2.293 MB / 1.217 GB (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_PropertySource_T.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches