Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.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.",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h") translateModel(Buildings.Fluid.Sources.Examples.PropertySource_h,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|proSouXi.port_b.h_outflow|proSouH.port_b.h_outflow|proSouC.port_b.h_outflow|proSouXi.port_a.h_outflow|proSouH.port_a.h_outflow|proSouC.port_a.h_outflow|proSouXi.port_b.Xi_outflow.1.|proSouH.port_b.Xi_outflow.1.|proSouC.port_b.Xi_outflow.1.|proSouXi.port_a.Xi_outflow.1.|proSouH.port_a.Xi_outflow.1.|proSouC.port_a.Xi_outflow.1.|proSouH.port_a.C_outflow.1.|proSouH.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.",fileNamePrefix="Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006807/0.006807, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001516/0.001516, allocations: 201.6 kB / 16.68 MB, free: 5.969 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.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.596/2.596, allocations: 437 MB / 0.7105 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00118/0.00118, allocations: 71.89 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.3128, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.9349/1.248, allocations: 176 MB / 1.338 GB, free: 13.22 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01084/1.259, allocations: 8.702 MB / 1.347 GB, free: 6.969 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009692/1.26, allocations: 25.47 kB / 1.347 GB, free: 6.957 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008296/1.26, allocations: 295.9 kB / 1.347 GB, free: 6.758 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000787/1.261, allocations: 305.8 kB / 1.348 GB, free: 6.582 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/1.263, allocations: 380.3 kB / 1.348 GB, free: 6.395 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.001674/1.264, allocations: 1.142 MB / 1.349 GB, free: 5.906 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00098/1.265, allocations: 0.5988 MB / 1.35 GB, free: 5.648 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006035/1.271, allocations: 2.059 MB / 1.352 GB, free: 4.691 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005672/1.272, allocations: 348.6 kB / 1.352 GB, free: 4.535 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.969e-05/1.272, allocations: 39.31 kB / 1.352 GB, free: 4.535 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002774/1.272, allocations: 91.05 kB / 1.352 GB, free: 4.516 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002585/1.273, allocations: 259.2 kB / 1.352 GB, free: 4.426 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003338/1.273, allocations: 286 kB / 1.353 GB, free: 4.258 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008523/1.274, allocations: 0.6292 MB / 1.353 GB, free: 4.004 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/1.274, allocations: 4 kB / 1.353 GB, free: 4 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.954e-06/1.274, allocations: 0 / 1.353 GB, free: 4 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.462e-05/1.274, allocations: 0 / 1.353 GB, free: 4 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001152/1.275, allocations: 0.8379 MB / 1.354 GB, free: 3.348 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/1.275, allocations: 8.312 kB / 1.354 GB, free: 3.348 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/1.275, allocations: 75.09 kB / 1.354 GB, free: 3.309 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007328/1.276, allocations: 448.2 kB / 1.355 GB, free: 2.996 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.808e-05/1.276, allocations: 43.73 kB / 1.355 GB, free: 2.977 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.759e-05/1.276, allocations: 51.06 kB / 1.355 GB, free: 2.961 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001154/1.277, allocations: 0.7059 MB / 1.355 GB, free: 2.539 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.921e-05/1.277, allocations: 10.33 kB / 1.355 GB, free: 2.531 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.633e-05/1.277, allocations: 22.38 kB / 1.355 GB, free: 2.516 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.108e-05/1.277, allocations: 35.06 kB / 1.355 GB, free: 2.508 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007789/1.278, allocations: 379.7 kB / 1.356 GB, free: 2.387 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003684/1.282, allocations: 3.219 MB / 1.359 GB, free: 15.67 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/1.282, allocations: 219.9 kB / 1.359 GB, free: 15.41 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002233/1.282, allocations: 127.7 kB / 1.359 GB, free: 15.31 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/1.282, allocations: 2.25 kB / 1.359 GB, free: 15.31 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/1.282, allocations: 46.91 kB / 1.359 GB, free: 15.26 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.763e-06/1.282, allocations: 0 / 1.359 GB, free: 15.26 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0007598/1.283, allocations: 260.3 kB / 1.36 GB, free: 15.14 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001775/1.283, allocations: 285.5 kB / 1.36 GB, free: 14.8 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008885/1.284, allocations: 0.6893 MB / 1.36 GB, free: 14.52 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/1.284, allocations: 28.31 kB / 1.361 GB, free: 14.48 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/1.285, allocations: 277.2 kB / 1.361 GB, free: 14.26 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/1.285, allocations: 30.06 kB / 1.361 GB, free: 14.24 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.251e-05/1.285, allocations: 33.44 kB / 1.361 GB, free: 14.21 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0002765/1.285, allocations: 370.6 kB / 1.361 GB, free: 13.88 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/1.285, allocations: 39.55 kB / 1.361 GB, free: 13.87 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/1.285, allocations: 95.39 kB / 1.361 GB, free: 13.8 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/1.286, allocations: 125.1 kB / 1.361 GB, free: 13.73 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.286, allocations: 1.25 kB / 1.361 GB, free: 13.73 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003697/1.286, allocations: 195.8 kB / 1.362 GB, free: 13.64 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.286, allocations: 5.25 kB / 1.362 GB, free: 13.64 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.286, allocations: 9.094 kB / 1.362 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/1.286, allocations: 6.969 kB / 1.362 GB, free: 13.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/1.286, allocations: 41.64 kB / 1.362 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/1.286, allocations: 2.156 kB / 1.362 GB, free: 13.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002383/1.287, allocations: 60.83 kB / 1.362 GB, free: 13.59 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.911e-05/1.287, allocations: 6.594 kB / 1.362 GB, free: 13.59 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (10): * Single equations (assignments): 10 * 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.0002097/1.287, allocations: 200.1 kB / 1.362 GB, free: 13.44 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000209/1.287, allocations: 64.56 kB / 1.362 GB, free: 13.41 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.634e-05/1.287, allocations: 69.34 kB / 1.362 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/1.287, allocations: 3.094 kB / 1.362 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/1.287, allocations: 2.281 kB / 1.362 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.69e-06/1.287, allocations: 3.906 kB / 1.362 GB, free: 13.37 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/1.289, allocations: 1.298 MB / 1.363 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/1.289, allocations: 2.5 kB / 1.363 GB, free: 12.27 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/1.289, allocations: 43.05 kB / 1.363 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/1.289, allocations: 2.281 kB / 1.363 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/1.289, allocations: 3.594 kB / 1.363 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.289, allocations: 10.16 kB / 1.363 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.289, allocations: 2.375 kB / 1.363 GB, free: 12.26 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004057/1.29, allocations: 342.6 kB / 1.364 GB, free: 11.98 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001474/1.29, allocations: 153.5 kB / 1.364 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/1.29, allocations: 4.219 kB / 1.364 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/1.29, allocations: 7.75 kB / 1.364 GB, free: 11.84 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.71e-05/1.29, allocations: 22.94 kB / 1.364 GB, free: 11.83 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/1.29, allocations: 4.438 kB / 1.364 GB, free: 11.83 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005849/1.291, allocations: 0.4948 MB / 1.364 GB, free: 11.62 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.5e-07/1.291, allocations: 3.938 kB / 1.364 GB, free: 11.62 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00042/1.291, allocations: 81.39 kB / 1.364 GB, free: 11.61 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (10): * Single equations (assignments): 10 * 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.0003702/1.292, allocations: 149 kB / 1.365 GB, free: 11.5 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000339/1.292, allocations: 104.3 kB / 1.365 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/1.292, allocations: 0 / 1.365 GB, free: 11.48 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/1.292, allocations: 68.92 kB / 1.365 GB, free: 11.45 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/1.293, allocations: 284.6 kB / 1.365 GB, free: 11.37 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001378/1.295, allocations: 0.8862 MB / 1.366 GB, free: 10.84 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/1.295, allocations: 0.9019 MB / 1.367 GB, free: 10.12 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002902/1.296, allocations: 102.4 kB / 1.367 GB, free: 10.11 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.529e-05/1.296, allocations: 42.88 kB / 1.367 GB, free: 10.1 MB / 1.045 GB Notification: Performance of SimCode: time 2.3e-07/1.296, allocations: 1.219 kB / 1.367 GB, free: 10.1 MB / 1.045 GB Notification: Performance of Templates: time 0.01673/1.312, allocations: 8.453 MB / 1.375 GB, free: 6.012 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches