Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.001107/0.001108, allocations: 114.4 kB / 16.42 MB, free: 6.5 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.001062/0.001062, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.29/1.29, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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.12/2.12, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 59.91 kB / 0.9515 GB, free: 7.664 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7009/0.7022, allocations: 140.4 MB / 1.089 GB, free: 5.785 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.PropertySource_h): time 0.1874/0.8897, allocations: 176 MB / 1.26 GB, free: 13.89 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.009866/0.8996, allocations: 8.724 MB / 1.269 GB, free: 5.145 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006654/0.9002, allocations: 23.88 kB / 1.269 GB, free: 5.121 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008812/0.9011, allocations: 297.8 kB / 1.269 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008996/0.9021, allocations: 318.4 kB / 1.27 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001056/0.9032, allocations: 387 kB / 1.27 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001317/0.9045, allocations: 1.148 MB / 1.271 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008508/0.9054, allocations: 0.59 MB / 1.272 GB, free: 2.398 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004552/0.9099, allocations: 2.129 MB / 1.274 GB, free: 268 kB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005542/0.9105, allocations: 354.4 kB / 1.274 GB, free: 15.91 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 9.082e-05/0.9106, allocations: 40 kB / 1.274 GB, free: 15.88 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002525/0.9109, allocations: 83.94 kB / 1.274 GB, free: 15.79 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.000256/0.9111, allocations: 263.3 kB / 1.274 GB, free: 15.54 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0003157/0.9114, allocations: 278.5 kB / 1.275 GB, free: 15.26 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0006549/0.9121, allocations: 0.6345 MB / 1.275 GB, free: 14.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.9121, allocations: 0 / 1.275 GB, free: 14.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.122e-06/0.9121, allocations: 0 / 1.275 GB, free: 14.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.822e-05/0.9121, allocations: 4 kB / 1.275 GB, free: 14.62 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: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001158/0.9133, allocations: 0.8184 MB / 1.276 GB, free: 13.75 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.336e-05/0.9134, allocations: 15.97 kB / 1.276 GB, free: 13.73 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001241/0.9135, allocations: 67.19 kB / 1.276 GB, free: 13.67 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007244/0.9142, allocations: 450 kB / 1.277 GB, free: 13.19 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.329e-05/0.9143, allocations: 41.3 kB / 1.277 GB, free: 13.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.138e-05/0.9143, allocations: 52 kB / 1.277 GB, free: 13.1 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009861/0.9153, allocations: 0.7027 MB / 1.277 GB, free: 12.31 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.9e-05/0.9154, allocations: 7.938 kB / 1.277 GB, free: 12.3 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.333e-05/0.9154, allocations: 20 kB / 1.277 GB, free: 12.29 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-05/0.9155, allocations: 35.92 kB / 1.277 GB, free: 12.25 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006447/0.9161, allocations: 371.4 kB / 1.278 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.9186, allocations: 3.211 MB / 1.281 GB, free: 8.531 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002424/0.9189, allocations: 218.1 kB / 1.281 GB, free: 8.227 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001871/0.9191, allocations: 132.5 kB / 1.281 GB, free: 8.066 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.9191, allocations: 4 kB / 1.281 GB, free: 8.062 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.9191, allocations: 47 kB / 1.281 GB, free: 8.008 MB / 1.014 GB Notification: Performance of pre-optimization done (n=10): time 1.512e-06/0.9191, allocations: 0 / 1.281 GB, free: 8.008 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006869/0.9198, allocations: 257 kB / 1.282 GB, free: 7.75 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.9199, allocations: 291.4 kB / 1.282 GB, free: 7.398 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000704/0.9206, allocations: 0.6799 MB / 1.283 GB, free: 6.707 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.978e-05/0.9207, allocations: 33.7 kB / 1.283 GB, free: 6.668 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000188/0.9209, allocations: 264.2 kB / 1.283 GB, free: 6.406 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.9209, allocations: 39.45 kB / 1.283 GB, free: 6.367 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.129e-05/0.921, allocations: 29.7 kB / 1.283 GB, free: 6.332 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.9211, allocations: 366.8 kB / 1.283 GB, free: 5.965 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001118/0.9212, allocations: 35.95 kB / 1.283 GB, free: 5.93 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.9214, allocations: 101 kB / 1.283 GB, free: 5.812 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/0.9217, allocations: 129 kB / 1.284 GB, free: 5.668 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.9217, allocations: 0 / 1.284 GB, free: 5.668 MB / 1.014 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003391/0.922, allocations: 180.9 kB / 1.284 GB, free: 5.484 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.922, allocations: 8.328 kB / 1.284 GB, free: 5.477 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.922, allocations: 8.188 kB / 1.284 GB, free: 5.469 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.9221, allocations: 7.938 kB / 1.284 GB, free: 5.461 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002205/0.9223, allocations: 47.83 kB / 1.284 GB, free: 5.414 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.9223, allocations: 4 kB / 1.284 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001988/0.9225, allocations: 55.27 kB / 1.284 GB, free: 5.355 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.109e-05/0.9225, allocations: 8 kB / 1.284 GB, free: 5.348 MB / 1.014 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.0001944/0.9227, allocations: 209.9 kB / 1.284 GB, free: 5.133 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002144/0.923, allocations: 55.34 kB / 1.284 GB, free: 5.078 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.782e-05/0.923, allocations: 64.2 kB / 1.284 GB, free: 5.008 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.998e-06/0.9231, allocations: 7.984 kB / 1.284 GB, free: 5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.9231, allocations: 4 kB / 1.284 GB, free: 4.996 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.9232, allocations: 156.3 kB / 1.284 GB, free: 4.824 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.804e-05/0.9233, allocations: 4 kB / 1.284 GB, free: 4.82 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004485/0.9237, allocations: 4 kB / 1.284 GB, free: 4.816 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.9238, allocations: 23.86 kB / 1.284 GB, free: 4.793 MB / 1.014 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000633/0.9244, allocations: 0.92 MB / 1.285 GB, free: 3.859 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000571/0.925, allocations: 1.023 MB / 1.286 GB, free: 2.812 MB / 1.014 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001377/0.9252, allocations: 55.89 kB / 1.286 GB, free: 2.758 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0005114/0.9257, allocations: 0.4951 MB / 1.287 GB, free: 2.27 MB / 1.014 GB Notification: Performance of Backend: time 5.41e-07/0.9257, allocations: 0 / 1.287 GB, free: 2.27 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.927, allocations: 173 kB / 1.287 GB, free: 2.102 MB / 1.014 GB Notification: Performance of SimCode: time 0.002156/0.9292, allocations: 1.523 MB / 1.288 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of Templates: time 0.0138/0.943, allocations: 8.587 MB / 1.297 GB, free: 8.059 MB / 1.029 GB make -j1 -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.makefile (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.sim & ./Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_PropertySource_h.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.PropertySource_h.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches