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.007906/0.007914, allocations: 104.6 kB / 15.74 MB, free: 5.984 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.001665/0.001665, allocations: 197.5 kB / 16.67 MB, free: 5.91 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.9509 GB, free: 7.641 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9588/0.96, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.SpecificEnthalpy): time 0.2143/1.174, allocations: 161.4 MB / 1.246 GB, free: 11.68 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006012/1.18, allocations: 4.545 MB / 1.25 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004927/1.181, allocations: 7.938 kB / 1.25 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000532/1.182, allocations: 123 kB / 1.25 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000935/1.183, allocations: 330.4 kB / 1.25 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008515/1.183, allocations: 282.3 kB / 1.251 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006514/1.184, allocations: 0.5611 MB / 1.251 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003476/1.184, allocations: 201.2 kB / 1.251 GB, free: 6.332 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001003/1.185, allocations: 462.2 kB / 1.252 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00027/1.186, allocations: 187.2 kB / 1.252 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.69e-05/1.186, allocations: 16 kB / 1.252 GB, free: 5.68 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001812/1.186, allocations: 83.88 kB / 1.252 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/1.186, allocations: 83.77 kB / 1.252 GB, free: 5.516 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001217/1.186, allocations: 119.4 kB / 1.252 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003915/1.187, allocations: 297 kB / 1.253 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/1.187, allocations: 0 / 1.253 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.764e-06/1.187, allocations: 4 kB / 1.253 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.514e-06/1.187, allocations: 0 / 1.253 GB, free: 5.105 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.0008425/1.188, allocations: 0.5411 MB / 1.253 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/1.188, allocations: 12.03 kB / 1.253 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.291e-05/1.188, allocations: 27.66 kB / 1.253 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/1.188, allocations: 287.4 kB / 1.253 GB, free: 4.156 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/1.188, allocations: 12 kB / 1.253 GB, free: 4.145 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.341e-05/1.188, allocations: 20 kB / 1.253 GB, free: 4.125 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/1.189, allocations: 257.9 kB / 1.254 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/1.189, allocations: 0 / 1.254 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.999e-05/1.189, allocations: 11.88 kB / 1.254 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/1.189, allocations: 8 kB / 1.254 GB, free: 3.816 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/1.189, allocations: 151.8 kB / 1.254 GB, free: 3.668 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001338/1.19, allocations: 1.356 MB / 1.255 GB, free: 2.223 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002877/1.191, allocations: 195.7 kB / 1.255 GB, free: 1.977 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001574/1.191, allocations: 93.11 kB / 1.255 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003318/1.191, allocations: 117.1 kB / 1.256 GB, free: 1.734 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.24e-05/1.191, allocations: 46.48 kB / 1.256 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/1.191, allocations: 3.938 kB / 1.256 GB, free: 1.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0005945/1.192, allocations: 205.1 kB / 1.256 GB, free: 1.469 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.746e-05/1.192, allocations: 188.5 kB / 1.256 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002771/1.192, allocations: 290.9 kB / 1.256 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/1.192, allocations: 29.7 kB / 1.256 GB, free: 0.918 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/1.192, allocations: 151.8 kB / 1.256 GB, free: 0.7656 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.202e-05/1.192, allocations: 39.39 kB / 1.257 GB, free: 0.7266 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.102e-05/1.192, allocations: 33.7 kB / 1.257 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.193, allocations: 334.8 kB / 1.257 GB, free: 360 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/1.193, allocations: 51.89 kB / 1.257 GB, free: 308 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001765/1.193, allocations: 110.5 kB / 1.257 GB, free: 172 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002992/1.193, allocations: 162.7 kB / 1.257 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/1.193, allocations: 0 / 1.257 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003558/1.194, allocations: 185.2 kB / 1.257 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.948e-05/1.194, allocations: 11.94 kB / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.194, allocations: 0 / 1.257 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/1.194, allocations: 7.984 kB / 1.257 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/1.194, allocations: 31.92 kB / 1.257 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/1.194, allocations: 4 kB / 1.257 GB, free: 15.74 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/1.194, allocations: 31.95 kB / 1.257 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/1.194, allocations: 8 kB / 1.257 GB, free: 15.7 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.0001458/1.194, allocations: 150.2 kB / 1.258 GB, free: 15.55 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/1.194, allocations: 31.66 kB / 1.258 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/1.195, allocations: 131.3 kB / 1.258 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/1.195, allocations: 11.97 kB / 1.258 GB, free: 15.37 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/1.195, allocations: 4 kB / 1.258 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.195, allocations: 4 kB / 1.258 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008088/1.195, allocations: 0.7691 MB / 1.258 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/1.195, allocations: 4 kB / 1.259 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001203/1.195, allocations: 24.14 kB / 1.259 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.418e-06/1.196, allocations: 4 kB / 1.259 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/1.196, allocations: 0 / 1.259 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/1.196, allocations: 7.938 kB / 1.259 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/1.196, allocations: 0 / 1.259 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005141/1.196, allocations: 347.3 kB / 1.259 GB, free: 14.11 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.833e-05/1.196, allocations: 104.8 kB / 1.259 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.127e-05/1.196, allocations: 8 kB / 1.259 GB, free: 13.98 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/1.196, allocations: 7.984 kB / 1.259 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.895e-05/1.196, allocations: 15.98 kB / 1.259 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/1.196, allocations: 8 kB / 1.259 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001894/1.197, allocations: 209.9 kB / 1.259 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.793e-06/1.197, allocations: 0 / 1.259 GB, free: 13.74 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003217/1.197, allocations: 55.88 kB / 1.259 GB, free: 13.68 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.h_out) * 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.0003395/1.197, allocations: 139.7 kB / 1.259 GB, free: 13.55 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000335/1.198, allocations: 123.8 kB / 1.26 GB, free: 13.43 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.198, allocations: 4 kB / 1.26 GB, free: 13.42 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001848/1.198, allocations: 59.89 kB / 1.26 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/1.199, allocations: 126.9 kB / 1.26 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008088/1.199, allocations: 0.4927 MB / 1.26 GB, free: 12.71 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003408/1.2, allocations: 0.7558 MB / 1.261 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001284/1.2, allocations: 50.25 kB / 1.261 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.636e-05/1.2, allocations: 27.44 kB / 1.261 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of SimCode: time 2.41e-07/1.2, allocations: 0 / 1.261 GB, free: 11.85 MB / 0.9981 GB Notification: Performance of Templates: time 0.008979/1.209, allocations: 4.307 MB / 1.265 GB, free: 7.602 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sensors.Examples.SpecificEnthalpy.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches