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: 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_latest_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_latest_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.001622/0.001622, allocations: 108 kB / 15.6 MB, free: 128 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.002605/0.002605, allocations: 195.3 kB / 16.53 MB, free: 6.672 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.449/1.449, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.909/2.909, allocations: 472.6 MB / 0.7451 GB, free: 4.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 69.03 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3469, allocations: 159.9 MB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.8692/1.216, allocations: 194.1 MB / 1.258 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01816/1.234, allocations: 10.04 MB / 1.268 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001443/1.236, allocations: 30.94 kB / 1.268 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001676/1.238, allocations: 396.5 kB / 1.268 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.003289/1.241, allocations: 1.029 MB / 1.269 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003716/1.245, allocations: 1.291 MB / 1.27 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.002349/1.247, allocations: 1.698 MB / 1.272 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001386/1.248, allocations: 0.832 MB / 1.273 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003683/1.252, allocations: 1.412 MB / 1.274 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001249/1.253, allocations: 0.5294 MB / 1.275 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002873/1.254, allocations: 63.16 kB / 1.275 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003486/1.257, allocations: 1.404 MB / 1.276 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007138/1.258, allocations: 348.5 kB / 1.276 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001081/1.259, allocations: 438.6 kB / 1.277 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003677/1.263, allocations: 1.48 MB / 1.278 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/1.263, allocations: 2.094 kB / 1.278 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.074e-06/1.263, allocations: 0.5625 kB / 1.278 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.904e-05/1.263, allocations: 0 / 1.278 GB, free: 5.832 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.00289/1.266, allocations: 1.144 MB / 1.279 GB, free: 21.16 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/1.266, allocations: 9.281 kB / 1.279 GB, free: 21.16 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002033/1.268, allocations: 301.6 kB / 1.28 GB, free: 21.11 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/1.269, allocations: 0.5269 MB / 1.28 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.795e-05/1.269, allocations: 54.69 kB / 1.28 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/1.269, allocations: 72.11 kB / 1.28 GB, free: 20.83 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002009/1.271, allocations: 0.9038 MB / 1.281 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.237e-05/1.271, allocations: 3.156 kB / 1.281 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.048e-05/1.271, allocations: 28.69 kB / 1.281 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001011/1.271, allocations: 49.28 kB / 1.281 GB, free: 20.63 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/1.273, allocations: 0.5704 MB / 1.282 GB, free: 20.62 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.00608/1.279, allocations: 3.511 MB / 1.285 GB, free: 18.46 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004025/1.279, allocations: 225.8 kB / 1.285 GB, free: 18.39 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002559/1.28, allocations: 144.1 kB / 1.286 GB, free: 18.36 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009086/1.281, allocations: 488.2 kB / 1.286 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/1.281, allocations: 44.92 kB / 1.286 GB, free: 17.85 MB / 1.014 GB Notification: Performance of pre-optimization done (n=21): time 2.325e-06/1.281, allocations: 0 / 1.286 GB, free: 17.85 MB / 1.014 GB Notification: Performance of matching and sorting (n=21): time 0.001275/1.282, allocations: 449.7 kB / 1.286 GB, free: 17.78 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.405e-05/1.282, allocations: 110.6 kB / 1.287 GB, free: 17.65 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/1.283, allocations: 0.8668 MB / 1.287 GB, free: 17.52 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.425e-05/1.283, allocations: 30.33 kB / 1.287 GB, free: 17.49 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002717/1.284, allocations: 382.9 kB / 1.288 GB, free: 17.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 6.276e-05/1.284, allocations: 74.42 kB / 1.288 GB, free: 17.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/1.284, allocations: 59.67 kB / 1.288 GB, free: 17.29 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001321/1.284, allocations: 320.5 kB / 1.288 GB, free: 16.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/1.284, allocations: 104 kB / 1.288 GB, free: 16.98 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003155/1.284, allocations: 214.5 kB / 1.289 GB, free: 16.88 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004951/1.285, allocations: 310 kB / 1.289 GB, free: 16.77 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/1.285, allocations: 2.625 kB / 1.289 GB, free: 16.77 MB / 1.014 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0007803/1.286, allocations: 405.5 kB / 1.289 GB, free: 16.7 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/1.286, allocations: 15.03 kB / 1.289 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/1.286, allocations: 2.906 kB / 1.289 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/1.286, allocations: 7.375 kB / 1.289 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00032/1.286, allocations: 60.75 kB / 1.289 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/1.286, allocations: 9.031 kB / 1.289 GB, free: 16.69 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/1.287, allocations: 75.17 kB / 1.289 GB, free: 16.64 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.115e-05/1.287, allocations: 18.09 kB / 1.289 GB, free: 16.64 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.0002812/1.287, allocations: 229.7 kB / 1.29 GB, free: 16.53 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001551/1.287, allocations: 82.06 kB / 1.29 GB, free: 16.48 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006432/1.288, allocations: 328.5 kB / 1.29 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/1.288, allocations: 2.844 kB / 1.29 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.288, allocations: 2.484 kB / 1.29 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.288, allocations: 3.391 kB / 1.29 GB, free: 16.43 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/1.29, allocations: 1.363 MB / 1.291 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.29, allocations: 10.17 kB / 1.291 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002097/1.29, allocations: 45.67 kB / 1.291 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.29, allocations: 5.625 kB / 1.291 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.194e-05/1.29, allocations: 11.94 kB / 1.291 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.555e-06/1.29, allocations: 13.36 kB / 1.291 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.29, allocations: 3.5 kB / 1.291 GB, free: 15.83 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006126/1.291, allocations: 0.5099 MB / 1.292 GB, free: 15.53 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/1.291, allocations: 189 kB / 1.292 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/1.291, allocations: 10.12 kB / 1.292 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003447/1.292, allocations: 17.06 kB / 1.292 GB, free: 15.39 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.891e-05/1.292, allocations: 28.75 kB / 1.292 GB, free: 15.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/1.292, allocations: 9.812 kB / 1.292 GB, free: 15.38 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007924/1.293, allocations: 0.6133 MB / 1.293 GB, free: 15.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.293, allocations: 0 / 1.293 GB, free: 15.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006623/1.293, allocations: 166.7 kB / 1.293 GB, free: 15.27 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.0004392/1.294, allocations: 194.3 kB / 1.293 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.000573/1.294, allocations: 270.2 kB / 1.293 GB, free: 15.17 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.294, allocations: 4.719 kB / 1.293 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002506/1.295, allocations: 131.5 kB / 1.294 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001874/1.296, allocations: 424.6 kB / 1.294 GB, free: 15.12 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/1.299, allocations: 1.267 MB / 1.295 GB, free: 14.49 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008834/1.3, allocations: 0.992 MB / 1.296 GB, free: 13.79 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0008508/1.3, allocations: 162.8 kB / 1.296 GB, free: 13.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/1.301, allocations: 50.16 kB / 1.296 GB, free: 13.77 MB / 1.014 GB Notification: Performance of SimCode: time 1.173e-06/1.301, allocations: 0.9688 kB / 1.296 GB, free: 13.77 MB / 1.014 GB Notification: Performance of Templates: time 0.02874/1.329, allocations: 13.7 MB / 1.31 GB, free: 12.99 MB / 1.014 GB make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (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 & ./Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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