Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.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.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") translateModel(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senStr.port_a.m_flow|senStr.h_out|senFloSou.h_out",fileNamePrefix="Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 113.6 kB / 16.42 MB, free: 6.441 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.001271/0.001271, allocations: 190.7 kB / 17.35 MB, free: 5.715 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.09 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.154/2.154, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.91 kB / 0.9516 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7055/0.7067, allocations: 140.4 MB / 1.089 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.1772/0.8839, allocations: 161.4 MB / 1.246 GB, free: 11.91 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005291/0.8893, allocations: 4.539 MB / 1.251 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003282/0.8896, allocations: 11.94 kB / 1.251 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0004014/0.89, allocations: 123.1 kB / 1.251 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007695/0.8909, allocations: 346.4 kB / 1.251 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007364/0.8916, allocations: 279.4 kB / 1.251 GB, free: 7.23 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005902/0.8922, allocations: 0.5572 MB / 1.252 GB, free: 6.668 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.8925, allocations: 209.2 kB / 1.252 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008553/0.8934, allocations: 466.2 kB / 1.253 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002525/0.8937, allocations: 191.2 kB / 1.253 GB, free: 5.816 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.505e-05/0.8937, allocations: 16 kB / 1.253 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001803/0.8939, allocations: 91.86 kB / 1.253 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.566e-05/0.894, allocations: 79.78 kB / 1.253 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001166/0.8941, allocations: 119.4 kB / 1.253 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003532/0.8945, allocations: 300.9 kB / 1.253 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8945, allocations: 0 / 1.253 GB, free: 5.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.162e-06/0.8945, allocations: 4 kB / 1.253 GB, free: 5.219 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.8945, allocations: 0 / 1.253 GB, free: 5.219 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.000754/0.8953, allocations: 0.5295 MB / 1.254 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.709e-05/0.8953, allocations: 12.02 kB / 1.254 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.597e-05/0.8954, allocations: 35.66 kB / 1.254 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003933/0.8958, allocations: 283.4 kB / 1.254 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.8958, allocations: 15.94 kB / 1.254 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.927e-05/0.8959, allocations: 20 kB / 1.254 GB, free: 4.242 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.8963, allocations: 257.9 kB / 1.254 GB, free: 3.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.8963, allocations: 4 kB / 1.254 GB, free: 3.949 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.8963, allocations: 7.938 kB / 1.254 GB, free: 3.941 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.233e-06/0.8964, allocations: 4 kB / 1.254 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003394/0.8967, allocations: 155.8 kB / 1.255 GB, free: 3.785 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001274/0.898, allocations: 1.363 MB / 1.256 GB, free: 2.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.8983, allocations: 187.7 kB / 1.256 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001773/0.8985, allocations: 101.1 kB / 1.256 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003306/0.8988, allocations: 113.1 kB / 1.256 GB, free: 1.848 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.8988, allocations: 50.42 kB / 1.256 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 2.795e-06/0.8989, allocations: 0 / 1.256 GB, free: 1.789 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0006134/0.8995, allocations: 205.1 kB / 1.257 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.549e-05/0.8996, allocations: 188.5 kB / 1.257 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002801/0.8998, allocations: 294.9 kB / 1.257 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.8999, allocations: 25.7 kB / 1.257 GB, free: 1.031 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.493e-05/0.9, allocations: 147.9 kB / 1.257 GB, free: 0.8828 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.472e-05/0.9, allocations: 39.53 kB / 1.257 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.774e-05/0.9001, allocations: 33.66 kB / 1.257 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.9002, allocations: 334.8 kB / 1.258 GB, free: 480 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001303/0.9004, allocations: 43.95 kB / 1.258 GB, free: 436 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001798/0.9005, allocations: 115.7 kB / 1.258 GB, free: 292 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/0.9008, allocations: 162.7 kB / 1.258 GB, free: 104 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9009, allocations: 0 / 1.258 GB, free: 104 kB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003948/0.9013, allocations: 189.2 kB / 1.258 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.9013, allocations: 7.938 kB / 1.258 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.9013, allocations: 7.984 kB / 1.258 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.9013, allocations: 4 kB / 1.258 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.9015, allocations: 35.91 kB / 1.258 GB, free: 15.86 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.9015, allocations: 3.938 kB / 1.258 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.9017, allocations: 36.27 kB / 1.258 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.163e-05/0.9017, allocations: 8 kB / 1.258 GB, free: 15.81 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0001329/0.9018, allocations: 146.3 kB / 1.258 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001302/0.902, allocations: 31.66 kB / 1.258 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003245/0.9023, allocations: 138.9 kB / 1.258 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.9023, allocations: 0 / 1.258 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.9023, allocations: 4 kB / 1.258 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.9024, allocations: 108.8 kB / 1.259 GB, free: 15.35 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.711e-05/0.9025, allocations: 8 kB / 1.259 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002857/0.9027, allocations: 7.984 kB / 1.259 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.331e-05/0.9028, allocations: 15.92 kB / 1.259 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005809/0.9034, allocations: 0.6065 MB / 1.259 GB, free: 14.7 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006546/0.9041, allocations: 0.7451 MB / 1.26 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001409/0.9042, allocations: 60.02 kB / 1.26 GB, free: 13.88 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000185/0.9044, allocations: 213.9 kB / 1.26 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of Backend: time 1.773e-06/0.9044, allocations: 3.938 kB / 1.26 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001075/0.9055, allocations: 193.5 kB / 1.26 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001319/0.9068, allocations: 1.001 MB / 1.261 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of Templates: time 0.008047/0.9149, allocations: 4.453 MB / 1.266 GB, free: 8.043 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.makefile (rm -f Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.sim & ./Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sensors_Examples_SpecificEnthalpy.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches