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.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_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.001713/0.001713, 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.001263/0.001263, allocations: 197.1 kB / 16.53 MB, free: 6.664 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.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7346 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 61.45 kB / 0.8992 GB, free: 37.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2616/0.2628, allocations: 157.4 MB / 1.053 GB, free: 8.309 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.181/0.4439, allocations: 194.1 MB / 1.242 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.4995/0.9434, allocations: 10.03 MB / 1.252 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007656/0.9442, allocations: 31.19 kB / 1.252 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000815/0.945, allocations: 394.9 kB / 1.253 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002198/0.9473, allocations: 1.026 MB / 1.254 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002584/0.9499, allocations: 1.295 MB / 1.255 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001477/0.9514, allocations: 1.693 MB / 1.257 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009458/0.9523, allocations: 0.8336 MB / 1.257 GB, free: 2.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.9548, allocations: 1.412 MB / 1.259 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005495/0.9554, allocations: 0.5328 MB / 1.259 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.86e-05/0.9555, allocations: 63.19 kB / 1.259 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002167/0.9577, allocations: 1.4 MB / 1.261 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003526/0.958, allocations: 344.8 kB / 1.261 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004218/0.9585, allocations: 442.2 kB / 1.261 GB, free: 2.434 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.002362/0.9608, allocations: 1.48 MB / 1.263 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.9609, allocations: 0.9062 kB / 1.263 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.292e-06/0.9609, allocations: 0 / 1.263 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.385e-05/0.9609, allocations: 1 kB / 1.263 GB, free: 2.348 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.001502/0.9624, allocations: 1.143 MB / 1.264 GB, free: 17.68 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.9624, allocations: 9.469 kB / 1.264 GB, free: 17.68 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.9626, allocations: 125.8 kB / 1.264 GB, free: 17.64 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/0.9642, allocations: 293.7 kB / 1.264 GB, free: 17.59 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007269/0.965, allocations: 0.5311 MB / 1.265 GB, free: 17.31 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.571e-05/0.965, allocations: 61.39 kB / 1.265 GB, free: 17.31 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.368e-05/0.9651, allocations: 69.62 kB / 1.265 GB, free: 17.31 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001347/0.9665, allocations: 0.9025 MB / 1.266 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.119e-05/0.9665, allocations: 2.562 kB / 1.266 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/0.9666, allocations: 27.03 kB / 1.266 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.265e-05/0.9666, allocations: 44.64 kB / 1.266 GB, free: 17.12 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.9677, allocations: 0.5775 MB / 1.267 GB, free: 17.11 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.00378/0.9715, allocations: 3.514 MB / 1.27 GB, free: 14.95 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004039/0.9719, allocations: 227.6 kB / 1.27 GB, free: 14.87 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002529/0.9722, allocations: 148.1 kB / 1.27 GB, free: 14.85 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008513/0.9731, allocations: 490 kB / 1.271 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.9731, allocations: 36.62 kB / 1.271 GB, free: 14.34 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 1.743e-06/0.9731, allocations: 2.422 kB / 1.271 GB, free: 14.34 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001206/0.9743, allocations: 457.8 kB / 1.271 GB, free: 14.26 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.24e-05/0.9744, allocations: 105.7 kB / 1.271 GB, free: 14.14 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00104/0.9754, allocations: 0.8654 MB / 1.272 GB, free: 14.01 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.9755, allocations: 33.05 kB / 1.272 GB, free: 13.98 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000249/0.9757, allocations: 380.4 kB / 1.273 GB, free: 13.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.366e-05/0.9758, allocations: 77.52 kB / 1.273 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.9759, allocations: 60.44 kB / 1.273 GB, free: 13.77 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.976, allocations: 322.5 kB / 1.273 GB, free: 13.46 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002311/0.9762, allocations: 101.5 kB / 1.273 GB, free: 13.46 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.9766, allocations: 213.8 kB / 1.273 GB, free: 13.36 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004994/0.9771, allocations: 311.9 kB / 1.274 GB, free: 13.26 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.9771, allocations: 1.094 kB / 1.274 GB, free: 13.26 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007889/0.9779, allocations: 401.4 kB / 1.274 GB, free: 13.18 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/0.9779, allocations: 8.344 kB / 1.274 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.398e-06/0.9779, allocations: 4.062 kB / 1.274 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.9779, allocations: 6.422 kB / 1.274 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000338/0.9783, allocations: 59.67 kB / 1.274 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.9783, allocations: 9.219 kB / 1.274 GB, free: 13.18 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004297/0.9787, allocations: 75.66 kB / 1.274 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.198e-05/0.9788, allocations: 19.03 kB / 1.274 GB, free: 13.14 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.0002801/0.9791, allocations: 234.1 kB / 1.274 GB, free: 13.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001568/0.9792, allocations: 82.48 kB / 1.275 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006989/0.9799, allocations: 325.3 kB / 1.275 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.755e-06/0.98, allocations: 3.953 kB / 1.275 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.98, allocations: 1.062 kB / 1.275 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.98, allocations: 2.719 kB / 1.275 GB, free: 12.93 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/0.9821, allocations: 1.37 MB / 1.276 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.9821, allocations: 4.406 kB / 1.276 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002131/0.9824, allocations: 43.95 kB / 1.276 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.823e-06/0.9824, allocations: 5.469 kB / 1.276 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.152e-05/0.9824, allocations: 11.62 kB / 1.276 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.9824, allocations: 10.2 kB / 1.276 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.9824, allocations: 5.969 kB / 1.276 GB, free: 12.33 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/0.983, allocations: 0.5148 MB / 1.277 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.9832, allocations: 192 kB / 1.277 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.515e-05/0.9833, allocations: 11.88 kB / 1.277 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003377/0.9837, allocations: 16.25 kB / 1.277 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.647e-05/0.9838, allocations: 29.84 kB / 1.277 GB, free: 11.88 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.92e-05/0.9838, allocations: 14.72 kB / 1.277 GB, free: 11.88 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007161/0.9845, allocations: 0.6094 MB / 1.278 GB, free: 11.78 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9845, allocations: 1.969 kB / 1.278 GB, free: 11.78 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0005915/0.9851, allocations: 167.4 kB / 1.278 GB, free: 11.76 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.001174/0.9863, allocations: 1.141 MB / 1.279 GB, free: 10.92 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0005442/0.9869, allocations: 265.5 kB / 1.279 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.9869, allocations: 1.312 kB / 1.279 GB, free: 10.91 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002432/0.9871, allocations: 131.9 kB / 1.279 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.001865/0.989, allocations: 426.5 kB / 1.28 GB, free: 10.87 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007285/0.9963, allocations: 6.297 MB / 1.286 GB, free: 8.355 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.9969, allocations: 0.9901 MB / 1.287 GB, free: 7.656 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.000628/0.9975, allocations: 163.6 kB / 1.287 GB, free: 7.641 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.9978, allocations: 270.4 kB / 1.287 GB, free: 7.633 MB / 1.014 GB Notification: Performance of SimCode: time 4.11e-07/0.9978, allocations: 0 / 1.287 GB, free: 7.633 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05353/1.051, allocations: 20.58 MB / 1.307 GB, free: 6.164 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.231/9.282, allocations: 11.38 kB / 1.307 GB, free: 6.16 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