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.006863/0.006863, allocations: 99.73 kB / 15.73 MB, free: 6.055 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.001573/0.001573, allocations: 194.7 kB / 16.67 MB, free: 5.977 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.366/1.366, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.668/2.668, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3199, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.9175/1.237, allocations: 176 MB / 1.338 GB, free: 13.18 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.01084/1.248, allocations: 8.701 MB / 1.347 GB, free: 6.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009/1.249, allocations: 21.31 kB / 1.347 GB, free: 6.922 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0008897/1.25, allocations: 296.4 kB / 1.347 GB, free: 6.723 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0008901/1.251, allocations: 326.4 kB / 1.348 GB, free: 6.535 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001548/1.253, allocations: 373.5 kB / 1.348 GB, free: 6.352 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.002341/1.255, allocations: 1.155 MB / 1.349 GB, free: 5.852 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/1.256, allocations: 0.591 MB / 1.35 GB, free: 5.602 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006363/1.263, allocations: 2.135 MB / 1.352 GB, free: 4.602 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006966/1.263, allocations: 344.9 kB / 1.352 GB, free: 4.449 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.2e-05/1.263, allocations: 40.19 kB / 1.352 GB, free: 4.449 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003063/1.264, allocations: 84.25 kB / 1.352 GB, free: 4.434 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0002684/1.264, allocations: 265.2 kB / 1.352 GB, free: 4.34 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003021/1.264, allocations: 282.4 kB / 1.353 GB, free: 4.172 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008297/1.265, allocations: 0.6335 MB / 1.353 GB, free: 3.914 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/1.265, allocations: 1.219 kB / 1.353 GB, free: 3.914 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.947e-06/1.265, allocations: 0 / 1.353 GB, free: 3.914 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.648e-06/1.265, allocations: 3.938 kB / 1.353 GB, free: 3.91 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.001203/1.266, allocations: 0.8387 MB / 1.354 GB, free: 3.258 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/1.266, allocations: 9.188 kB / 1.354 GB, free: 3.258 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001169/1.266, allocations: 73.14 kB / 1.354 GB, free: 3.219 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007545/1.267, allocations: 452.9 kB / 1.355 GB, free: 2.902 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.178e-05/1.267, allocations: 38.72 kB / 1.355 GB, free: 2.887 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.593e-05/1.267, allocations: 56.14 kB / 1.355 GB, free: 2.867 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/1.269, allocations: 0.6992 MB / 1.355 GB, free: 2.449 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/1.269, allocations: 5.344 kB / 1.355 GB, free: 2.445 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.905e-05/1.269, allocations: 26.83 kB / 1.355 GB, free: 2.426 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.455e-05/1.269, allocations: 34.66 kB / 1.356 GB, free: 2.418 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006394/1.269, allocations: 381.8 kB / 1.356 GB, free: 2.297 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002751/1.272, allocations: 3.214 MB / 1.359 GB, free: 15.59 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003547/1.273, allocations: 220.6 kB / 1.359 GB, free: 15.32 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002047/1.273, allocations: 126.5 kB / 1.359 GB, free: 15.22 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/1.273, allocations: 6.375 kB / 1.359 GB, free: 15.22 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.273, allocations: 45.25 kB / 1.359 GB, free: 15.17 MB / 1.045 GB Notification: Performance of pre-optimization done (n=10): time 1.684e-06/1.273, allocations: 0 / 1.359 GB, free: 15.17 MB / 1.045 GB Notification: Performance of matching and sorting (n=10): time 0.0007096/1.274, allocations: 258 kB / 1.36 GB, free: 15.05 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001231/1.274, allocations: 292.7 kB / 1.36 GB, free: 14.71 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007846/1.274, allocations: 0.6893 MB / 1.361 GB, free: 14.43 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.375e-05/1.274, allocations: 26.73 kB / 1.361 GB, free: 14.39 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/1.275, allocations: 272.7 kB / 1.361 GB, free: 14.18 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.2e-05/1.275, allocations: 30.41 kB / 1.361 GB, free: 14.15 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.866e-05/1.275, allocations: 31.75 kB / 1.361 GB, free: 14.13 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.275, allocations: 372.1 kB / 1.361 GB, free: 13.79 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000115/1.275, allocations: 37.89 kB / 1.361 GB, free: 13.78 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001741/1.275, allocations: 96.22 kB / 1.361 GB, free: 13.72 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002819/1.276, allocations: 125.4 kB / 1.362 GB, free: 13.65 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/1.276, allocations: 0 / 1.362 GB, free: 13.65 MB / 1.045 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003701/1.276, allocations: 200.7 kB / 1.362 GB, free: 13.55 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.276, allocations: 4.75 kB / 1.362 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/1.276, allocations: 6.312 kB / 1.362 GB, free: 13.55 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/1.276, allocations: 6.406 kB / 1.362 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/1.276, allocations: 37.97 kB / 1.362 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/1.276, allocations: 10.44 kB / 1.362 GB, free: 13.54 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002141/1.276, allocations: 57.16 kB / 1.362 GB, free: 13.5 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.585e-05/1.277, allocations: 9.812 kB / 1.362 GB, free: 13.5 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.000197/1.277, allocations: 200.8 kB / 1.362 GB, free: 13.35 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000231/1.277, allocations: 60.72 kB / 1.362 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.92e-05/1.277, allocations: 61.03 kB / 1.362 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/1.277, allocations: 6.094 kB / 1.362 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.277, allocations: 3.562 kB / 1.362 GB, free: 13.29 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/1.277, allocations: 6.5 kB / 1.362 GB, free: 13.28 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001403/1.278, allocations: 1.302 MB / 1.363 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/1.279, allocations: 3.984 kB / 1.363 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001888/1.279, allocations: 43.39 kB / 1.363 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/1.279, allocations: 2.688 kB / 1.363 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/1.279, allocations: 3.969 kB / 1.363 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/1.279, allocations: 2.344 kB / 1.364 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/1.279, allocations: 3.344 kB / 1.364 GB, free: 12.17 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003962/1.279, allocations: 349.6 kB / 1.364 GB, free: 11.89 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001778/1.279, allocations: 148.9 kB / 1.364 GB, free: 11.76 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.455e-05/1.279, allocations: 8.125 kB / 1.364 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/1.28, allocations: 7.703 kB / 1.364 GB, free: 11.75 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.064e-05/1.28, allocations: 19.67 kB / 1.364 GB, free: 11.74 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/1.28, allocations: 5.219 kB / 1.364 GB, free: 11.74 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0005861/1.28, allocations: 0.4923 MB / 1.364 GB, free: 11.54 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.9e-07/1.28, allocations: 3.938 kB / 1.365 GB, free: 11.54 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004038/1.281, allocations: 84.42 kB / 1.365 GB, free: 11.52 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.0003289/1.281, allocations: 145.5 kB / 1.365 GB, free: 11.42 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0003067/1.281, allocations: 110.8 kB / 1.365 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/1.281, allocations: 1.625 kB / 1.365 GB, free: 11.39 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001488/1.282, allocations: 62.06 kB / 1.365 GB, free: 11.37 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001263/1.283, allocations: 281.8 kB / 1.365 GB, free: 11.29 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/1.284, allocations: 0.8833 MB / 1.366 GB, free: 10.76 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004853/1.285, allocations: 0.9044 MB / 1.367 GB, free: 10.04 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002355/1.285, allocations: 105.7 kB / 1.367 GB, free: 10.03 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.35e-05/1.285, allocations: 34.16 kB / 1.367 GB, free: 10.03 MB / 1.045 GB Notification: Performance of SimCode: time 2.41e-07/1.285, allocations: 0.9688 kB / 1.367 GB, free: 10.03 MB / 1.045 GB Notification: Performance of Templates: time 0.01545/1.3, allocations: 8.461 MB / 1.375 GB, free: 5.93 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