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: 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.008736/0.008736, allocations: 100.5 kB / 15.73 MB, free: 5.977 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.001979/0.001979, allocations: 197.2 kB / 16.67 MB, free: 5.914 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.463/1.463, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.855/2.855, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001334/0.001335, allocations: 63.91 kB / 1.054 GB, free: 7.082 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3138, allocations: 157.4 MB / 1.208 GB, free: 9.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.9505/1.264, allocations: 194.1 MB / 1.397 GB, free: 12.09 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.01286/1.277, allocations: 10.02 MB / 1.407 GB, free: 3.953 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001233/1.279, allocations: 30.41 kB / 1.407 GB, free: 3.941 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001506/1.28, allocations: 397 kB / 1.407 GB, free: 3.594 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004035/1.284, allocations: 1.027 MB / 1.408 GB, free: 2.793 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004371/1.289, allocations: 1.297 MB / 1.41 GB, free: 1.824 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002766/1.291, allocations: 1.696 MB / 1.411 GB, free: 0.8477 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001119/1.293, allocations: 0.8374 MB / 1.412 GB, free: 356 kB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003361/1.296, allocations: 1.423 MB / 1.414 GB, free: 15.45 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006351/1.297, allocations: 0.5293 MB / 1.414 GB, free: 15.12 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 9.691e-05/1.297, allocations: 62.81 kB / 1.414 GB, free: 15.12 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002717/1.299, allocations: 1.411 MB / 1.416 GB, free: 14.33 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0003358/1.3, allocations: 348.4 kB / 1.416 GB, free: 14.11 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0004437/1.3, allocations: 443.8 kB / 1.416 GB, free: 13.83 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/1.302, allocations: 1.497 MB / 1.418 GB, free: 12.91 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.684e-06/1.302, allocations: 3.984 kB / 1.418 GB, free: 12.91 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.595e-06/1.302, allocations: 0 / 1.418 GB, free: 12.91 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.874e-05/1.302, allocations: 0 / 1.418 GB, free: 12.91 MB / 1.107 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.001594/1.304, allocations: 1.142 MB / 1.419 GB, free: 11.99 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.304, allocations: 11.28 kB / 1.419 GB, free: 11.99 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/1.305, allocations: 291.9 kB / 1.419 GB, free: 11.86 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009863/1.306, allocations: 0.5738 MB / 1.42 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.01e-05/1.307, allocations: 52.91 kB / 1.42 GB, free: 11.37 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-05/1.307, allocations: 85.61 kB / 1.42 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/1.308, allocations: 0.8994 MB / 1.421 GB, free: 10.73 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.164e-05/1.308, allocations: 0 / 1.421 GB, free: 10.73 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.335e-05/1.308, allocations: 31.8 kB / 1.421 GB, free: 10.71 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.558e-05/1.308, allocations: 41.8 kB / 1.421 GB, free: 10.7 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001021/1.309, allocations: 0.5774 MB / 1.421 GB, free: 10.43 MB / 1.107 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.003635/1.313, allocations: 3.482 MB / 1.425 GB, free: 7.379 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003577/1.313, allocations: 228.6 kB / 1.425 GB, free: 7.223 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000229/1.313, allocations: 144.8 kB / 1.425 GB, free: 7.141 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/1.314, allocations: 490.1 kB / 1.426 GB, free: 6.633 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/1.314, allocations: 41.03 kB / 1.426 GB, free: 6.586 MB / 1.107 GB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/1.314, allocations: 0 / 1.426 GB, free: 6.586 MB / 1.107 GB Notification: Performance of matching and sorting (n=21): time 0.001184/1.315, allocations: 450.7 kB / 1.426 GB, free: 6.367 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.255e-05/1.315, allocations: 109.5 kB / 1.426 GB, free: 6.238 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009463/1.316, allocations: 0.8679 MB / 1.427 GB, free: 5.582 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.179e-05/1.316, allocations: 33.7 kB / 1.427 GB, free: 5.543 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002917/1.317, allocations: 379.9 kB / 1.427 GB, free: 5.168 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.145e-05/1.317, allocations: 78.94 kB / 1.428 GB, free: 5.09 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/1.317, allocations: 57.61 kB / 1.428 GB, free: 5.027 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001213/1.317, allocations: 318 kB / 1.428 GB, free: 4.711 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/1.317, allocations: 99.92 kB / 1.428 GB, free: 4.613 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002976/1.318, allocations: 219.5 kB / 1.428 GB, free: 4.359 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004746/1.318, allocations: 312.3 kB / 1.428 GB, free: 4.016 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/1.318, allocations: 4 kB / 1.428 GB, free: 4.012 MB / 1.107 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006869/1.319, allocations: 398.5 kB / 1.429 GB, free: 3.617 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/1.319, allocations: 8.062 kB / 1.429 GB, free: 3.609 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/1.319, allocations: 4 kB / 1.429 GB, free: 3.605 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/1.319, allocations: 4 kB / 1.429 GB, free: 3.602 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/1.319, allocations: 63.84 kB / 1.429 GB, free: 3.539 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/1.319, allocations: 15.88 kB / 1.429 GB, free: 3.523 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004275/1.32, allocations: 84.28 kB / 1.429 GB, free: 3.441 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/1.32, allocations: 16.86 kB / 1.429 GB, free: 3.426 MB / 1.107 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.0002446/1.32, allocations: 225.7 kB / 1.429 GB, free: 3.195 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/1.32, allocations: 83.06 kB / 1.429 GB, free: 3.113 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005802/1.321, allocations: 314.2 kB / 1.43 GB, free: 2.797 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/1.321, allocations: 3.938 kB / 1.43 GB, free: 2.793 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/1.321, allocations: 0 / 1.43 GB, free: 2.793 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.548e-06/1.321, allocations: 4 kB / 1.43 GB, free: 2.789 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001873/1.323, allocations: 1.373 MB / 1.431 GB, free: 1.305 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/1.323, allocations: 4 kB / 1.431 GB, free: 1.301 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001969/1.323, allocations: 44.44 kB / 1.431 GB, free: 1.258 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/1.323, allocations: 12 kB / 1.431 GB, free: 1.246 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.312e-05/1.323, allocations: 11.94 kB / 1.431 GB, free: 1.234 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/1.323, allocations: 11.94 kB / 1.431 GB, free: 1.223 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.154e-06/1.323, allocations: 8.812 kB / 1.431 GB, free: 1.215 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006414/1.323, allocations: 0.5087 MB / 1.432 GB, free: 0.6367 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002536/1.324, allocations: 184.1 kB / 1.432 GB, free: 448 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.688e-05/1.324, allocations: 11.98 kB / 1.432 GB, free: 436 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003126/1.324, allocations: 16.09 kB / 1.432 GB, free: 420 kB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/1.324, allocations: 35.83 kB / 1.432 GB, free: 384 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/1.324, allocations: 8 kB / 1.432 GB, free: 376 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0007043/1.325, allocations: 0.6199 MB / 1.432 GB, free: 15.75 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.325, allocations: 0 / 1.432 GB, free: 15.75 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000559/1.326, allocations: 167.8 kB / 1.433 GB, free: 15.59 MB / 1.123 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.0003911/1.326, allocations: 184.5 kB / 1.433 GB, free: 15.41 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005354/1.326, allocations: 268.1 kB / 1.433 GB, free: 15.15 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/1.327, allocations: 4 kB / 1.433 GB, free: 15.15 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002463/1.327, allocations: 127.7 kB / 1.433 GB, free: 15.02 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/1.329, allocations: 420.9 kB / 1.434 GB, free: 14.63 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/1.33, allocations: 1.244 MB / 1.435 GB, free: 13.3 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/1.331, allocations: 0.9995 MB / 1.436 GB, free: 12.28 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.000427/1.331, allocations: 158.2 kB / 1.436 GB, free: 12.12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/1.331, allocations: 51.44 kB / 1.436 GB, free: 12.07 MB / 1.123 GB Notification: Performance of SimCode: time 2.3e-07/1.331, allocations: 0 / 1.436 GB, free: 12.07 MB / 1.123 GB Notification: Performance of Templates: time 0.02201/1.353, allocations: 14.01 MB / 1.45 GB, free: 14.28 MB / 1.139 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