Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01015/0.01015, allocations: 102.7 kB / 15.73 MB, free: 6.039 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.001939/0.001939, allocations: 196 kB / 16.67 MB, free: 5.973 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.452/1.452, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.449/2.449, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 66.27 kB / 0.9508 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3019/0.3031, allocations: 140.4 MB / 1.088 GB, free: 1.438 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.8919/1.195, allocations: 194.1 MB / 1.277 GB, free: 3.453 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01234/1.207, allocations: 10.04 MB / 1.287 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001361/1.209, allocations: 31.16 kB / 1.287 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/1.21, allocations: 396.2 kB / 1.288 GB, free: 3.34 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003255/1.213, allocations: 1.078 MB / 1.289 GB, free: 3.297 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0041/1.217, allocations: 1.314 MB / 1.29 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002964/1.22, allocations: 1.703 MB / 1.292 GB, free: 3.258 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001679/1.222, allocations: 0.8355 MB / 1.292 GB, free: 3.16 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003949/1.226, allocations: 1.459 MB / 1.294 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008634/1.227, allocations: 0.527 MB / 1.294 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001137/1.227, allocations: 64.98 kB / 1.294 GB, free: 3.137 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003458/1.231, allocations: 1.418 MB / 1.296 GB, free: 3.121 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004996/1.231, allocations: 346.2 kB / 1.296 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0008373/1.232, allocations: 436.1 kB / 1.297 GB, free: 3.117 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.006561/1.239, allocations: 1.507 MB / 1.298 GB, free: 3.035 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/1.239, allocations: 0 / 1.298 GB, free: 3.035 MB / 1.014 GB Notification: Performance of FrontEnd: time 7.374e-06/1.239, allocations: 1.5 kB / 1.298 GB, free: 3.035 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.851e-05/1.239, allocations: 1.641 kB / 1.298 GB, free: 3.035 MB / 1.014 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.002589/1.241, allocations: 1.142 MB / 1.299 GB, free: 2.359 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/1.241, allocations: 8.75 kB / 1.299 GB, free: 2.359 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002248/1.244, allocations: 297.1 kB / 1.3 GB, free: 2.312 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001146/1.245, allocations: 0.5686 MB / 1.3 GB, free: 2.035 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/1.245, allocations: 53.59 kB / 1.3 GB, free: 2.035 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001082/1.245, allocations: 79.53 kB / 1.3 GB, free: 2.031 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/1.246, allocations: 0.8957 MB / 1.301 GB, free: 1.836 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/1.247, allocations: 1.25 kB / 1.301 GB, free: 1.836 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/1.247, allocations: 34.88 kB / 1.301 GB, free: 1.836 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.467e-05/1.247, allocations: 44.11 kB / 1.301 GB, free: 1.836 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001034/1.248, allocations: 0.5704 MB / 1.302 GB, free: 1.828 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.003562/1.251, allocations: 3.489 MB / 1.305 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004155/1.252, allocations: 225.2 kB / 1.305 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002589/1.252, allocations: 145.9 kB / 1.305 GB, free: 15.56 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008044/1.253, allocations: 493.8 kB / 1.306 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/1.253, allocations: 42.91 kB / 1.306 GB, free: 15.05 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.943e-06/1.253, allocations: 1 kB / 1.306 GB, free: 15.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.001261/1.254, allocations: 448.7 kB / 1.306 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/1.254, allocations: 107 kB / 1.307 GB, free: 14.85 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/1.255, allocations: 0.8694 MB / 1.307 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.301e-05/1.255, allocations: 30.64 kB / 1.307 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002804/1.256, allocations: 381.9 kB / 1.308 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.945e-05/1.256, allocations: 72.98 kB / 1.308 GB, free: 14.5 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/1.256, allocations: 61.53 kB / 1.308 GB, free: 14.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001133/1.256, allocations: 323.2 kB / 1.308 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/1.256, allocations: 102.5 kB / 1.308 GB, free: 14.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002957/1.256, allocations: 217.4 kB / 1.308 GB, free: 14.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000478/1.257, allocations: 309 kB / 1.309 GB, free: 13.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.257, allocations: 1.969 kB / 1.309 GB, free: 13.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.000704/1.258, allocations: 405.1 kB / 1.309 GB, free: 13.89 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.224e-05/1.258, allocations: 6.938 kB / 1.309 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.135e-06/1.258, allocations: 4.641 kB / 1.309 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.428e-05/1.258, allocations: 5.125 kB / 1.309 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003231/1.258, allocations: 61.17 kB / 1.309 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/1.258, allocations: 7.875 kB / 1.309 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004946/1.259, allocations: 81.34 kB / 1.309 GB, free: 13.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.831e-05/1.259, allocations: 16.62 kB / 1.309 GB, free: 13.84 MB / 1.029 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.0002573/1.259, allocations: 229.9 kB / 1.31 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001399/1.259, allocations: 77.97 kB / 1.31 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/1.26, allocations: 325.8 kB / 1.31 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.59e-06/1.26, allocations: 2.875 kB / 1.31 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.252e-06/1.26, allocations: 2.031 kB / 1.31 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/1.26, allocations: 2.438 kB / 1.31 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/1.262, allocations: 1.377 MB / 1.311 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/1.262, allocations: 3.906 kB / 1.311 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002084/1.262, allocations: 45.38 kB / 1.311 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.384e-06/1.262, allocations: 4.875 kB / 1.311 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.131e-05/1.262, allocations: 6.906 kB / 1.311 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/1.262, allocations: 11.81 kB / 1.311 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/1.262, allocations: 5.75 kB / 1.311 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/1.263, allocations: 0.517 MB / 1.312 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/1.263, allocations: 187.3 kB / 1.312 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/1.263, allocations: 12.56 kB / 1.312 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003332/1.263, allocations: 16.44 kB / 1.312 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/1.263, allocations: 28.86 kB / 1.312 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.961e-05/1.263, allocations: 10.31 kB / 1.312 GB, free: 12.58 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007908/1.264, allocations: 0.612 MB / 1.313 GB, free: 12.49 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.71e-07/1.264, allocations: 3.938 kB / 1.313 GB, free: 12.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0007082/1.265, allocations: 165.7 kB / 1.313 GB, free: 12.47 MB / 1.029 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.0004357/1.265, allocations: 191.8 kB / 1.313 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005696/1.266, allocations: 269.2 kB / 1.313 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/1.266, allocations: 2.125 kB / 1.313 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/1.266, allocations: 133.8 kB / 1.313 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/1.268, allocations: 421.8 kB / 1.314 GB, free: 12.32 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/1.27, allocations: 1.245 MB / 1.315 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005676/1.27, allocations: 0.9928 MB / 1.316 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0005582/1.271, allocations: 165.2 kB / 1.316 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/1.271, allocations: 48.66 kB / 1.316 GB, free: 10.97 MB / 1.029 GB Notification: Performance of SimCode: time 1.263e-06/1.271, allocations: 0.9688 kB / 1.316 GB, free: 10.97 MB / 1.029 GB Notification: Performance of Templates: time 0.02422/1.295, allocations: 13.77 MB / 1.33 GB, free: 10.17 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches