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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.0008392/0.0008392, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005029/0.005029, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.189/1.189, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.484/2.484, allocations: 462.6 MB / 0.7364 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003012/0.0003012, allocations: 14.27 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.25, allocations: 159.6 MB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.1661/0.4161, allocations: 189.3 MB / 1.244 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4994/0.9155, allocations: 9.897 MB / 1.253 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007934/0.9163, allocations: 25.12 kB / 1.253 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007744/0.9171, allocations: 311.7 kB / 1.254 GB, free: 2.754 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.9193, allocations: 0.9783 MB / 1.255 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002362/0.9216, allocations: 1.18 MB / 1.256 GB, free: 2.723 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002053/0.9237, allocations: 2.346 MB / 1.258 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008394/0.9245, allocations: 0.6976 MB / 1.259 GB, free: 2.617 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00254/0.9271, allocations: 1.294 MB / 1.26 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005598/0.9277, allocations: 0.5236 MB / 1.261 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.697e-05/0.9277, allocations: 35.72 kB / 1.261 GB, free: 2.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002449/0.9302, allocations: 1.65 MB / 1.262 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.9305, allocations: 317.3 kB / 1.262 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003626/0.9309, allocations: 419.2 kB / 1.263 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001797/0.9327, allocations: 1.556 MB / 1.264 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.975e-06/0.9327, allocations: 0 / 1.264 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9327, allocations: 0 / 1.264 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.9327, allocations: 0 / 1.264 GB, free: 2.457 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: 189 * Number of variables: 189 Notification: Performance of Generate backend data structure: time 0.001327/0.9341, allocations: 0.9809 MB / 1.265 GB, free: 17.8 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.395e-05/0.9341, allocations: 12.19 kB / 1.265 GB, free: 17.8 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001136/0.9342, allocations: 130.1 kB / 1.265 GB, free: 17.76 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001645/0.9359, allocations: 291.7 kB / 1.266 GB, free: 17.71 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006811/0.9366, allocations: 0.5277 MB / 1.266 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.191e-05/0.9366, allocations: 62.66 kB / 1.266 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.45e-05/0.9367, allocations: 79.58 kB / 1.266 GB, free: 17.43 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001244/0.9379, allocations: 0.902 MB / 1.267 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.067e-05/0.938, allocations: 4.562 kB / 1.267 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.938, allocations: 31.81 kB / 1.267 GB, free: 17.23 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.468e-05/0.9381, allocations: 43.92 kB / 1.267 GB, free: 17.22 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001041/0.9392, allocations: 0.5844 MB / 1.268 GB, free: 17.22 MB / 1.014 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003508/0.9427, allocations: 3.51 MB / 1.271 GB, free: 15.04 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.9431, allocations: 233.3 kB / 1.272 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.9434, allocations: 149.8 kB / 1.272 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008007/0.9442, allocations: 0.4958 MB / 1.272 GB, free: 14.47 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.9442, allocations: 34.8 kB / 1.272 GB, free: 14.43 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.824e-06/0.9442, allocations: 0 / 1.272 GB, free: 14.43 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001201/0.9454, allocations: 473.4 kB / 1.273 GB, free: 14.35 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.9455, allocations: 105.4 kB / 1.273 GB, free: 14.23 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.9465, allocations: 0.8704 MB / 1.274 GB, free: 14.09 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.9466, allocations: 30.64 kB / 1.274 GB, free: 14.05 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002771/0.9469, allocations: 379.9 kB / 1.274 GB, free: 13.92 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.322e-05/0.9469, allocations: 73.78 kB / 1.274 GB, free: 13.87 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.336e-05/0.947, allocations: 31.72 kB / 1.274 GB, free: 13.86 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 9.846e-05/0.9471, allocations: 324.2 kB / 1.274 GB, free: 13.54 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002365/0.9473, allocations: 109.6 kB / 1.275 GB, free: 13.54 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.9477, allocations: 219.2 kB / 1.275 GB, free: 13.43 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005203/0.9482, allocations: 324.3 kB / 1.275 GB, free: 13.32 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.9482, allocations: 0.5625 kB / 1.275 GB, free: 13.32 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0008052/0.949, allocations: 412.9 kB / 1.275 GB, free: 13.24 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.949, allocations: 7.328 kB / 1.275 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.949, allocations: 2.688 kB / 1.275 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.9491, allocations: 8.531 kB / 1.275 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.9494, allocations: 68.05 kB / 1.276 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.314e-05/0.9494, allocations: 12.28 kB / 1.276 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.9499, allocations: 90.17 kB / 1.276 GB, free: 13.19 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.131e-05/0.95, allocations: 13.19 kB / 1.276 GB, free: 13.19 MB / 1.014 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.000307/0.9503, allocations: 239.8 kB / 1.276 GB, free: 13.07 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000163/0.9505, allocations: 84.92 kB / 1.276 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007409/0.9512, allocations: 332.2 kB / 1.276 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.187e-06/0.9512, allocations: 2.562 kB / 1.276 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.9512, allocations: 5.125 kB / 1.276 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.9512, allocations: 2.641 kB / 1.276 GB, free: 12.97 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.9533, allocations: 1.381 MB / 1.278 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.9533, allocations: 3.844 kB / 1.278 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.9535, allocations: 45.42 kB / 1.278 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-06/0.9536, allocations: 6.594 kB / 1.278 GB, free: 12.37 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.9536, allocations: 14.89 kB / 1.278 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.9536, allocations: 9.531 kB / 1.278 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.9536, allocations: 6.75 kB / 1.278 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006177/0.9542, allocations: 0.5208 MB / 1.278 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002077/0.9544, allocations: 188.8 kB / 1.278 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.9545, allocations: 14 kB / 1.278 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003802/0.9549, allocations: 31.19 kB / 1.278 GB, free: 11.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.955, allocations: 34.97 kB / 1.278 GB, free: 11.89 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.955, allocations: 9.438 kB / 1.278 GB, free: 11.89 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007675/0.9558, allocations: 0.6126 MB / 1.279 GB, free: 11.8 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9558, allocations: 0 / 1.279 GB, free: 11.8 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005789/0.9564, allocations: 166.2 kB / 1.279 GB, free: 11.79 MB / 1.014 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.001106/0.9575, allocations: 1.15 MB / 1.28 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005324/0.958, allocations: 270.2 kB / 1.281 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.9581, allocations: 1.438 kB / 1.281 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002693/0.9583, allocations: 135.8 kB / 1.281 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.9607, allocations: 395.8 kB / 1.281 GB, free: 10.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007703/0.9684, allocations: 6.527 MB / 1.288 GB, free: 8.102 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.9689, allocations: 0.9933 MB / 1.288 GB, free: 7.395 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0006331/0.9695, allocations: 161.6 kB / 1.289 GB, free: 7.359 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003205/0.9699, allocations: 273.6 kB / 1.289 GB, free: 7.352 MB / 1.014 GB Notification: Performance of SimCode: time 2.41e-07/0.9699, allocations: 4 kB / 1.289 GB, free: 7.348 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.217/3.187, allocations: 19.65 MB / 1.308 GB, free: 6.027 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002409/3.187, allocations: 251.3 kB / 1.308 GB, free: 5.77 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/5.466, allocations: 0 / 1.308 GB, free: 5.77 MB / 1.014 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=50 --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