Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.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.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWat.y|TAir.y|mWat_flow.y|mAir_flow.y|hADryCoi.hA_1|hADryCoi.hA_2|hADryCoiAir.hA_1|hADryCoiAir.hA_2|hADryCoiWat.hA_1|hADryCoiWat.hA_2",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001218, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.001272/0.001272, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.345/1.345, allocations: 222.9 MB / 240.9 MB, free: 15.26 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.231/2.231, allocations: 390.3 MB / 0.6653 GB, free: 0.75 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001346, allocations: 63.47 kB / 0.8132 GB, free: 33.05 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3173/0.3187, allocations: 140.4 MB / 0.9503 GB, free: 8.895 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.003976/0.3227, allocations: 2.167 MB / 0.9524 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001955/0.3247, allocations: 1.021 MB / 0.9534 GB, free: 5.68 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002269/0.325, allocations: 7.938 kB / 0.9534 GB, free: 5.672 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.251e-05/0.3251, allocations: 23.67 kB / 0.9534 GB, free: 5.648 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004408/0.3256, allocations: 83.22 kB / 0.9535 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005791/0.3262, allocations: 199.5 kB / 0.9537 GB, free: 5.371 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.3266, allocations: 290.7 kB / 0.954 GB, free: 5.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001933/0.3268, allocations: 68.53 kB / 0.954 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001875/0.327, allocations: 111.6 kB / 0.9541 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002824/0.3273, allocations: 147.3 kB / 0.9543 GB, free: 4.766 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.3273, allocations: 16 kB / 0.9543 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004588/0.3278, allocations: 299.6 kB / 0.9546 GB, free: 4.457 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.035e-05/0.3279, allocations: 43.78 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.328, allocations: 119.3 kB / 0.9547 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0004216/0.3284, allocations: 323.1 kB / 0.955 GB, free: 3.98 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3284, allocations: 4 kB / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3285, allocations: 0 / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.384e-05/0.3285, allocations: 0 / 0.955 GB, free: 3.977 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001147/0.3296, allocations: 0.6233 MB / 0.9557 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3297, allocations: 12.03 kB / 0.9557 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002469/0.3299, allocations: 36.56 kB / 0.9557 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003515/0.3303, allocations: 283.4 kB / 0.956 GB, free: 2.941 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.3303, allocations: 8.656 kB / 0.956 GB, free: 2.934 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.3304, allocations: 20.12 kB / 0.956 GB, free: 2.914 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005189/0.3309, allocations: 228.6 kB / 0.9562 GB, free: 2.668 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3309, allocations: 4 kB / 0.9562 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.088e-05/0.3309, allocations: 4 kB / 0.9562 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.3309, allocations: 11.92 kB / 0.9562 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006996/0.3316, allocations: 206.7 kB / 0.9564 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.3329, allocations: 0.9306 MB / 0.9573 GB, free: 1.449 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007771/0.3336, allocations: 245.3 kB / 0.9576 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003349/0.334, allocations: 105.6 kB / 0.9577 GB, free: 1.082 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.334, allocations: 4 kB / 0.9577 GB, free: 1.078 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.3341, allocations: 34.5 kB / 0.9577 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=16): time 1.803e-06/0.3341, allocations: 4 kB / 0.9577 GB, free: 1.031 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16): time 0.001173/0.3352, allocations: 341.6 kB / 0.958 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.593e-05/0.3353, allocations: 77.11 kB / 0.9581 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002576/0.3356, allocations: 267 kB / 0.9584 GB, free: 328 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.911e-05/0.3356, allocations: 25.7 kB / 0.9584 GB, free: 296 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.3357, allocations: 164.1 kB / 0.9585 GB, free: 128 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.3358, allocations: 51.25 kB / 0.9586 GB, free: 76 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.3358, allocations: 45.61 kB / 0.9586 GB, free: 24 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.336, allocations: 338.8 kB / 0.959 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003226/0.3363, allocations: 87.92 kB / 0.959 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.3367, allocations: 143.5 kB / 0.9592 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006582/0.3373, allocations: 245.7 kB / 0.9594 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3373, allocations: 7.938 kB / 0.9594 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008324/0.3382, allocations: 285 kB / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.3382, allocations: 8 kB / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.217e-06/0.3382, allocations: 0 / 0.9597 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3382, allocations: 4 kB / 0.9597 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002883/0.3385, allocations: 60.11 kB / 0.9598 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.3386, allocations: 7.938 kB / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.3388, allocations: 47.83 kB / 0.9598 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.3388, allocations: 11.94 kB / 0.9598 GB, free: 14.75 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 23 * 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.0001345/0.339, allocations: 137.3 kB / 0.96 GB, free: 14.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001269/0.3391, allocations: 23.72 kB / 0.96 GB, free: 14.58 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000816/0.3399, allocations: 299 kB / 0.9603 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.3399, allocations: 0 / 0.9603 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.34, allocations: 4 kB / 0.9603 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.34, allocations: 0 / 0.9603 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003672/0.3403, allocations: 297.4 kB / 0.9606 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/0.3404, allocations: 0 / 0.9606 GB, free: 13.94 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002521/0.3406, allocations: 55.89 kB / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3406, allocations: 0 / 0.9606 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3406, allocations: 4 kB / 0.9606 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.3407, allocations: 4 kB / 0.9606 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.3407, allocations: 4 kB / 0.9606 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000863/0.3415, allocations: 447.1 kB / 0.961 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.684e-05/0.3416, allocations: 100.8 kB / 0.9611 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.851e-05/0.3417, allocations: 4 kB / 0.9611 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002564/0.3419, allocations: 27.95 kB / 0.9612 GB, free: 13.27 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.452e-05/0.342, allocations: 15.98 kB / 0.9612 GB, free: 13.26 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.342, allocations: 4 kB / 0.9612 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001864/0.3422, allocations: 190 kB / 0.9614 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3422, allocations: 4 kB / 0.9614 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003715/0.3426, allocations: 68.09 kB / 0.9614 GB, free: 13 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002165/0.3428, allocations: 115.2 kB / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007781/0.3436, allocations: 238.1 kB / 0.9618 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.975e-06/0.3436, allocations: 0 / 0.9618 GB, free: 12.64 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003459/0.344, allocations: 123.8 kB / 0.9619 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.3446, allocations: 81.55 kB / 0.962 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008779/0.3455, allocations: 472.6 kB / 0.9624 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.3458, allocations: 0.748 MB / 0.9632 GB, free: 11.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.867e-05/0.3459, allocations: 31.42 kB / 0.9632 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of SimCode: time 3.01e-07/0.3459, allocations: 0 / 0.9632 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of Templates: time 0.006071/0.352, allocations: 3.441 MB / 0.9665 GB, free: 7.734 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches