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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 225.6 MB / 251 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.89/2.89, allocations: 0.4893 GB / 0.7884 GB, free: 33.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,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") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001903/0.001903, allocations: 67.14 kB / 1.145 GB, free: 30.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3178/0.3197, allocations: 174.9 MB / 1.316 GB, free: 9.695 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.2224/0.5421, allocations: 195.2 MB / 1.507 GB, free: 5.719 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.5548, allocations: 10.17 MB / 1.517 GB, free: 11.52 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000911/0.5557, allocations: 43.62 kB / 1.517 GB, free: 11.48 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.5567, allocations: 404.9 kB / 1.517 GB, free: 11.08 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.00261/0.5593, allocations: 1.062 MB / 1.518 GB, free: 10.01 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.5625, allocations: 1.389 MB / 1.519 GB, free: 8.625 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.002151/0.5646, allocations: 1.709 MB / 1.521 GB, free: 6.91 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009365/0.5656, allocations: 0.6098 MB / 1.522 GB, free: 6.277 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.569, allocations: 1.716 MB / 1.523 GB, free: 4.555 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007698/0.5698, allocations: 0.5524 MB / 1.524 GB, free: 4 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.5699, allocations: 60 kB / 1.524 GB, free: 3.941 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002525/0.5725, allocations: 1.508 MB / 1.525 GB, free: 2.43 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003921/0.5729, allocations: 362.9 kB / 1.526 GB, free: 2.074 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0005508/0.5734, allocations: 429.8 kB / 1.526 GB, free: 1.652 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002467/0.5759, allocations: 1.518 MB / 1.528 GB, free: 132 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.327e-06/0.5759, allocations: 0 / 1.528 GB, free: 132 kB / 1.217 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5759, allocations: 0 / 1.528 GB, free: 132 kB / 1.217 GB Notification: Performance of Transformations before backend: time 3.405e-05/0.5759, allocations: 0 / 1.528 GB, free: 132 kB / 1.217 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.001746/0.5777, allocations: 1.1 MB / 1.529 GB, free: 14.99 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.5777, allocations: 12.03 kB / 1.529 GB, free: 14.98 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001689/0.5794, allocations: 295.1 kB / 1.529 GB, free: 14.69 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009976/0.5804, allocations: 0.5049 MB / 1.53 GB, free: 14.16 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.339e-05/0.5804, allocations: 61.98 kB / 1.53 GB, free: 14.09 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.532e-05/0.5805, allocations: 68 kB / 1.53 GB, free: 14.03 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001391/0.5819, allocations: 0.9025 MB / 1.531 GB, free: 13.07 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.582, allocations: 4 kB / 1.531 GB, free: 13.06 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.582, allocations: 28 kB / 1.531 GB, free: 13.04 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.461e-05/0.5821, allocations: 41.23 kB / 1.531 GB, free: 13 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.5831, allocations: 0.5749 MB / 1.531 GB, free: 12.42 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003748/0.5868, allocations: 3.419 MB / 1.535 GB, free: 8.816 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000396/0.5872, allocations: 222.6 kB / 1.535 GB, free: 8.574 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002537/0.5875, allocations: 146.4 kB / 1.535 GB, free: 8.422 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000577/0.588, allocations: 107.8 kB / 1.535 GB, free: 8.316 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.5881, allocations: 34.56 kB / 1.535 GB, free: 8.273 MB / 1.232 GB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/0.5881, allocations: 4 kB / 1.535 GB, free: 8.27 MB / 1.232 GB Notification: Performance of matching and sorting (n=21): time 0.001209/0.5893, allocations: 450.7 kB / 1.535 GB, free: 7.824 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.841e-05/0.5894, allocations: 115 kB / 1.536 GB, free: 7.688 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/0.5905, allocations: 0.8722 MB / 1.536 GB, free: 6.801 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 3.267e-05/0.5905, allocations: 29.7 kB / 1.536 GB, free: 6.766 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.000326/0.5908, allocations: 384.2 kB / 1.537 GB, free: 6.383 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 7.009e-05/0.5909, allocations: 83.3 kB / 1.537 GB, free: 6.301 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001089/0.591, allocations: 57.66 kB / 1.537 GB, free: 6.238 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5912, allocations: 322 kB / 1.537 GB, free: 5.918 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.5914, allocations: 103.9 kB / 1.537 GB, free: 5.816 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000316/0.5917, allocations: 207.1 kB / 1.538 GB, free: 5.574 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/0.5922, allocations: 310.9 kB / 1.538 GB, free: 5.23 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.5922, allocations: 3.938 kB / 1.538 GB, free: 5.227 MB / 1.232 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.00071/0.5929, allocations: 410.6 kB / 1.538 GB, free: 4.824 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.5929, allocations: 4 kB / 1.538 GB, free: 4.82 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5929, allocations: 4 kB / 1.538 GB, free: 4.816 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.593, allocations: 4 kB / 1.538 GB, free: 4.812 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003042/0.5933, allocations: 63.84 kB / 1.538 GB, free: 4.75 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.5933, allocations: 7.938 kB / 1.538 GB, free: 4.742 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004109/0.5937, allocations: 79.66 kB / 1.538 GB, free: 4.664 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.501e-05/0.5937, allocations: 20 kB / 1.538 GB, free: 4.645 MB / 1.232 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.0002759/0.594, allocations: 233.6 kB / 1.539 GB, free: 4.406 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.5941, allocations: 83.44 kB / 1.539 GB, free: 4.324 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006044/0.5947, allocations: 314.5 kB / 1.539 GB, free: 4.008 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.037e-06/0.5948, allocations: 7.938 kB / 1.539 GB, free: 4 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.207e-06/0.5948, allocations: 3.938 kB / 1.539 GB, free: 3.996 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5948, allocations: 4 kB / 1.539 GB, free: 3.992 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/0.5968, allocations: 1.334 MB / 1.54 GB, free: 2.555 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.5968, allocations: 8 kB / 1.54 GB, free: 2.547 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002109/0.597, allocations: 47.91 kB / 1.54 GB, free: 2.5 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.597, allocations: 4 kB / 1.54 GB, free: 2.496 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.597, allocations: 11.94 kB / 1.54 GB, free: 2.484 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.304e-06/0.5971, allocations: 7.984 kB / 1.54 GB, free: 2.477 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.5971, allocations: 11.88 kB / 1.54 GB, free: 2.465 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006942/0.5978, allocations: 0.5107 MB / 1.541 GB, free: 1.887 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002412/0.598, allocations: 119.4 kB / 1.541 GB, free: 1.77 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.871e-05/0.5981, allocations: 12 kB / 1.541 GB, free: 1.758 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.5984, allocations: 23.92 kB / 1.541 GB, free: 1.734 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.367e-05/0.5985, allocations: 23.91 kB / 1.541 GB, free: 1.711 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.5985, allocations: 15.94 kB / 1.541 GB, free: 1.695 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0008016/0.5993, allocations: 0.6122 MB / 1.542 GB, free: 1.09 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/0.5993, allocations: 0 / 1.542 GB, free: 1.09 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.0005597/0.5999, allocations: 163.8 kB / 1.542 GB, free: 0.9297 MB / 1.232 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.0004334/0.6003, allocations: 195.4 kB / 1.542 GB, free: 0.7305 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0005784/0.6009, allocations: 261.1 kB / 1.542 GB, free: 488 kB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6009, allocations: 0 / 1.542 GB, free: 488 kB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.0002673/0.6011, allocations: 129.5 kB / 1.542 GB, free: 360 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001723/0.6029, allocations: 418.8 kB / 1.543 GB, free: 15.95 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/0.6048, allocations: 1.268 MB / 1.544 GB, free: 14.59 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006715/0.6054, allocations: 0.9878 MB / 1.545 GB, free: 13.57 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0004779/0.6059, allocations: 166.2 kB / 1.545 GB, free: 13.41 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.606, allocations: 51.44 kB / 1.545 GB, free: 13.36 MB / 1.248 GB Notification: Performance of SimCode: time 4.01e-07/0.606, allocations: 0 / 1.545 GB, free: 13.36 MB / 1.248 GB Notification: Performance of Templates: time 0.02429/0.6303, allocations: 14.01 MB / 1.559 GB, free: 15.57 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sources.Examples.PropertySource_T.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.534176702611148]