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.0086/0.0086, allocations: 105.9 kB / 15.74 MB, free: 6.492 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.002037/0.002037, allocations: 197.6 kB / 16.67 MB, free: 6.375 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.434/1.434, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.427/2.427, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 62.41 kB / 0.9508 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3519, allocations: 140.4 MB / 1.088 GB, free: 1.477 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_T): time 0.9025/1.254, allocations: 194.1 MB / 1.277 GB, free: 3.48 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01197/1.266, allocations: 10.05 MB / 1.287 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001021/1.267, allocations: 32.3 kB / 1.287 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.00102/1.269, allocations: 395 kB / 1.288 GB, free: 3.367 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.002571/1.271, allocations: 1.032 MB / 1.289 GB, free: 3.324 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.003356/1.275, allocations: 1.289 MB / 1.29 GB, free: 3.289 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002362/1.277, allocations: 1.698 MB / 1.292 GB, free: 3.285 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001305/1.278, allocations: 0.833 MB / 1.292 GB, free: 3.188 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00327/1.281, allocations: 1.42 MB / 1.294 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007409/1.282, allocations: 0.5253 MB / 1.294 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/1.282, allocations: 62.78 kB / 1.294 GB, free: 3.164 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003408/1.286, allocations: 1.413 MB / 1.296 GB, free: 3.148 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0004089/1.286, allocations: 344.3 kB / 1.296 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0005225/1.287, allocations: 440.8 kB / 1.297 GB, free: 3.145 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002614/1.289, allocations: 1.503 MB / 1.298 GB, free: 3.062 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/1.289, allocations: 0 / 1.298 GB, free: 3.062 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.493e-06/1.289, allocations: 0.9688 kB / 1.298 GB, free: 3.062 MB / 1.014 GB Notification: Performance of Transformations before backend: time 3.374e-05/1.289, allocations: 1.312 kB / 1.298 GB, free: 3.062 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.002073/1.291, allocations: 1.142 MB / 1.299 GB, free: 2.387 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.801e-05/1.292, allocations: 14.22 kB / 1.299 GB, free: 2.387 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001864/1.293, allocations: 291.7 kB / 1.299 GB, free: 2.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/1.294, allocations: 0.5717 MB / 1.3 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.747e-05/1.295, allocations: 58.05 kB / 1.3 GB, free: 2.059 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001151/1.295, allocations: 78.28 kB / 1.3 GB, free: 2.055 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/1.296, allocations: 0.9005 MB / 1.301 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/1.296, allocations: 1.094 kB / 1.301 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.804e-05/1.296, allocations: 31.88 kB / 1.301 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.125e-05/1.296, allocations: 44.75 kB / 1.301 GB, free: 1.855 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/1.298, allocations: 0.5711 MB / 1.302 GB, free: 1.848 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.004959/1.302, allocations: 3.484 MB / 1.305 GB, free: 15.68 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004934/1.303, allocations: 223.2 kB / 1.305 GB, free: 15.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002657/1.303, allocations: 148.2 kB / 1.305 GB, free: 15.59 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008299/1.304, allocations: 492 kB / 1.306 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/1.304, allocations: 37.34 kB / 1.306 GB, free: 15.08 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.803e-06/1.304, allocations: 1.031 kB / 1.306 GB, free: 15.08 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.001266/1.305, allocations: 450.1 kB / 1.306 GB, free: 15 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.643e-05/1.306, allocations: 107.6 kB / 1.306 GB, free: 14.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001066/1.307, allocations: 0.8689 MB / 1.307 GB, free: 14.74 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/1.307, allocations: 31.08 kB / 1.307 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002758/1.307, allocations: 380.7 kB / 1.308 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.036e-05/1.307, allocations: 75.53 kB / 1.308 GB, free: 14.53 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000101/1.307, allocations: 60.25 kB / 1.308 GB, free: 14.51 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.307, allocations: 326.7 kB / 1.308 GB, free: 14.2 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000213/1.307, allocations: 104 kB / 1.308 GB, free: 14.2 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002948/1.308, allocations: 214.3 kB / 1.308 GB, free: 14.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005018/1.308, allocations: 318.2 kB / 1.309 GB, free: 13.98 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/1.308, allocations: 1.219 kB / 1.309 GB, free: 13.98 MB / 1.029 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006961/1.309, allocations: 400.5 kB / 1.309 GB, free: 13.91 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/1.309, allocations: 6.469 kB / 1.309 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/1.309, allocations: 3.531 kB / 1.309 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.388e-05/1.309, allocations: 8.469 kB / 1.309 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000314/1.309, allocations: 61.14 kB / 1.309 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/1.309, allocations: 7.844 kB / 1.309 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004969/1.31, allocations: 79.19 kB / 1.309 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.184e-05/1.31, allocations: 19.11 kB / 1.309 GB, free: 13.86 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.0002713/1.31, allocations: 226.8 kB / 1.309 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/1.31, allocations: 78.53 kB / 1.31 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006482/1.311, allocations: 321.7 kB / 1.31 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/1.311, allocations: 3.5 kB / 1.31 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.311, allocations: 1.562 kB / 1.31 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.311, allocations: 5.047 kB / 1.31 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001976/1.313, allocations: 1.37 MB / 1.311 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.695e-06/1.313, allocations: 8.125 kB / 1.311 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002238/1.313, allocations: 51.86 kB / 1.311 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.456e-06/1.313, allocations: 5.031 kB / 1.311 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.305e-05/1.313, allocations: 8.391 kB / 1.311 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.747e-06/1.313, allocations: 8.406 kB / 1.311 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.004e-06/1.313, allocations: 6.688 kB / 1.311 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006829/1.314, allocations: 0.5147 MB / 1.312 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002573/1.314, allocations: 186.7 kB / 1.312 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-05/1.314, allocations: 9.375 kB / 1.312 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003425/1.315, allocations: 18.14 kB / 1.312 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/1.315, allocations: 28.97 kB / 1.312 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/1.315, allocations: 9.219 kB / 1.312 GB, free: 12.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0007617/1.316, allocations: 0.6157 MB / 1.313 GB, free: 12.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.316, allocations: 0 / 1.313 GB, free: 12.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0006678/1.316, allocations: 163.3 kB / 1.313 GB, free: 12.5 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.000463/1.317, allocations: 191.3 kB / 1.313 GB, free: 12.4 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005909/1.317, allocations: 270.9 kB / 1.313 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/1.317, allocations: 2.094 kB / 1.313 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0002522/1.318, allocations: 133 kB / 1.313 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/1.32, allocations: 432.4 kB / 1.314 GB, free: 12.33 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/1.321, allocations: 1.241 MB / 1.315 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005685/1.322, allocations: 0.9921 MB / 1.316 GB, free: 11.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000526/1.322, allocations: 158 kB / 1.316 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/1.323, allocations: 49.81 kB / 1.316 GB, free: 10.99 MB / 1.029 GB Notification: Performance of SimCode: time 4.61e-07/1.323, allocations: 0 / 1.316 GB, free: 10.99 MB / 1.029 GB Notification: Performance of Templates: time 0.02327/1.346, allocations: 13.78 MB / 1.33 GB, free: 10.19 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