Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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: translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_T,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senTemT.T|senTemXi.T|senTemC.T|proSouXi.port_b.Xi_outflow.1.|proSouT.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouT.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouT.port_a.C_outflow.1.|proSouT.port_b.C_outflow.1.|proSouC.port_a.C_outflow.1.|proSouC.port_b.C_outflow.1.|proSouXi.port_a.C_outflow.1.|proSouXi.port_b.C_outflow.1.|proSouXi.port_a.h_outflow|proSouXi.port_b.h_outflow|proSouT.port_a.h_outflow|proSouT.port_b.h_outflow|proSouC.port_a.h_outflow|proSouC.port_b.h_outflow",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00584/0.005841, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001316/0.001316, allocations: 192.7 kB / 16.79 MB, free: 5.809 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.369/1.369, allocations: 222.9 MB / 240.5 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.613/2.613, allocations: 437 MB / 0.7106 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 67.89 kB / 0.8692 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6524/0.6539, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2081/0.862, allocations: 191.9 MB / 1.205 GB, free: 2.211 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.01202/0.8741, allocations: 10.04 MB / 1.214 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.8752, allocations: 27.81 kB / 1.214 GB, free: 8.113 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.001154/0.8764, allocations: 317.9 kB / 1.215 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002689/0.8791, allocations: 0.9646 MB / 1.216 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002922/0.882, allocations: 1.195 MB / 1.217 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.002641/0.8847, allocations: 2.341 MB / 1.219 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001267/0.886, allocations: 0.7118 MB / 1.22 GB, free: 2.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003083/0.8891, allocations: 1.327 MB / 1.221 GB, free: 1.219 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008951/0.89, allocations: 0.5484 MB / 1.222 GB, free: 0.668 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001581/0.8902, allocations: 44 kB / 1.222 GB, free: 0.625 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003215/0.8934, allocations: 1.656 MB / 1.223 GB, free: 14.96 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000478/0.8939, allocations: 331.1 kB / 1.224 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000878/0.8948, allocations: 417.8 kB / 1.224 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001957/0.8968, allocations: 1.06 MB / 1.225 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8968, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.854e-06/0.8968, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.348e-05/0.8968, allocations: 0 / 1.225 GB, free: 13.17 MB / 0.9825 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.00252/0.8994, allocations: 1.146 MB / 1.226 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.8994, allocations: 8.031 kB / 1.226 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002682/0.9021, allocations: 294.6 kB / 1.227 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001276/0.9034, allocations: 0.531 MB / 1.227 GB, free: 11.11 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/0.9035, allocations: 57.94 kB / 1.227 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.9037, allocations: 79.97 kB / 1.227 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002024/0.9057, allocations: 0.8948 MB / 1.228 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.919e-05/0.9058, allocations: 7.938 kB / 1.228 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.9058, allocations: 35.92 kB / 1.228 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.699e-05/0.9059, allocations: 41.3 kB / 1.228 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.9074, allocations: 0.5748 MB / 1.229 GB, free: 9.359 MB / 0.9825 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.005277/0.9127, allocations: 3.497 MB / 1.232 GB, free: 5.672 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.9133, allocations: 221.1 kB / 1.232 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003521/0.9137, allocations: 146.5 kB / 1.232 GB, free: 5.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0011/0.9148, allocations: 489.4 kB / 1.233 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.9148, allocations: 34.56 kB / 1.233 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=21): time 3.998e-06/0.9149, allocations: 4 kB / 1.233 GB, free: 4.66 MB / 0.9825 GB Notification: Performance of matching and sorting (n=21): time 0.001747/0.9166, allocations: 454.7 kB / 1.233 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.398e-05/0.9167, allocations: 111 kB / 1.234 GB, free: 4.078 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001542/0.9182, allocations: 0.8723 MB / 1.234 GB, free: 3.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.883e-05/0.9183, allocations: 29.7 kB / 1.234 GB, free: 3.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003889/0.9187, allocations: 383.7 kB / 1.235 GB, free: 2.781 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.409e-05/0.9188, allocations: 70.95 kB / 1.235 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001495/0.919, allocations: 61.69 kB / 1.235 GB, free: 2.645 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.9191, allocations: 314 kB / 1.235 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003175/0.9194, allocations: 103.9 kB / 1.235 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.9199, allocations: 211 kB / 1.235 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/0.9206, allocations: 313.2 kB / 1.236 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/0.9206, allocations: 4.062 kB / 1.236 GB, free: 1.637 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00106/0.9217, allocations: 400.3 kB / 1.236 GB, free: 1.238 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.9217, allocations: 8 kB / 1.236 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.9218, allocations: 0 / 1.236 GB, free: 1.23 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.9218, allocations: 4 kB / 1.236 GB, free: 1.227 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.9222, allocations: 67.84 kB / 1.236 GB, free: 1.16 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/0.9223, allocations: 4 kB / 1.236 GB, free: 1.156 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007228/0.923, allocations: 95.28 kB / 1.236 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.224e-05/0.9231, allocations: 19.94 kB / 1.236 GB, free: 1.043 MB / 0.9825 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.0003932/0.9235, allocations: 229.6 kB / 1.237 GB, free: 0.8086 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.9237, allocations: 75.06 kB / 1.237 GB, free: 0.7344 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009536/0.9247, allocations: 328.7 kB / 1.237 GB, free: 416 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.9247, allocations: 7.938 kB / 1.237 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.685e-06/0.9247, allocations: 0 / 1.237 GB, free: 408 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.655e-06/0.9247, allocations: 3.984 kB / 1.237 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002708/0.9274, allocations: 1.362 MB / 1.238 GB, free: 14.92 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/0.9275, allocations: 4 kB / 1.238 GB, free: 14.91 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002257/0.9277, allocations: 47.91 kB / 1.238 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.086e-06/0.9277, allocations: 4 kB / 1.238 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.642e-05/0.9277, allocations: 15.94 kB / 1.238 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.794e-06/0.9278, allocations: 8.469 kB / 1.238 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.9278, allocations: 8 kB / 1.238 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006989/0.9285, allocations: 0.5194 MB / 1.239 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003021/0.9288, allocations: 196.1 kB / 1.239 GB, free: 14.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.9289, allocations: 4 kB / 1.239 GB, free: 14.03 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.9293, allocations: 35.91 kB / 1.239 GB, free: 14 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.245e-05/0.9294, allocations: 23.98 kB / 1.239 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.589e-05/0.9294, allocations: 15.94 kB / 1.239 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008088/0.9303, allocations: 0.616 MB / 1.24 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9303, allocations: 4 kB / 1.24 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000667/0.9309, allocations: 163.8 kB / 1.24 GB, free: 13.18 MB / 0.9981 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.0004804/0.9314, allocations: 203.1 kB / 1.24 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005923/0.932, allocations: 256.1 kB / 1.24 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.932, allocations: 0 / 1.24 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002799/0.9323, allocations: 127.7 kB / 1.24 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001928/0.9343, allocations: 404.9 kB / 1.241 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.9365, allocations: 1.534 MB / 1.242 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006363/0.9371, allocations: 0.992 MB / 1.243 GB, free: 9.574 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001675/0.9373, allocations: 51.44 kB / 1.243 GB, free: 9.523 MB / 0.9981 GB Notification: Performance of SimCode: time 6.82e-07/0.9373, allocations: 4 kB / 1.243 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of Templates: time 0.4966/1.434, allocations: 11.98 MB / 1.255 GB, free: 234.3 MB / 0.9981 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches