Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.2 MB, free: 4.391 MB / 190.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.204/2.204, allocations: 390.3 MB / 0.6647 GB, free: 300 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 71.83 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5251/0.5263, allocations: 140.4 MB / 0.9497 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002302/0.5286, allocations: 1.605 MB / 0.9513 GB, free: 7.934 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001055/0.5297, allocations: 0.8952 MB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.604e-05/0.5298, allocations: 1.062 kB / 0.9522 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.854e-05/0.5298, allocations: 9.188 kB / 0.9522 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000163/0.53, allocations: 27.5 kB / 0.9522 GB, free: 7.199 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003025/0.5303, allocations: 136.6 kB / 0.9523 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.5304, allocations: 78.84 kB / 0.9524 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.355e-05/0.5305, allocations: 26.17 kB / 0.9524 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.266e-05/0.5306, allocations: 29.45 kB / 0.9525 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.878e-05/0.5307, allocations: 40.64 kB / 0.9525 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.5307, allocations: 4.531 kB / 0.9525 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003076/0.531, allocations: 277.6 kB / 0.9528 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.531, allocations: 13.05 kB / 0.9528 GB, free: 6.844 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.152e-05/0.5311, allocations: 32.52 kB / 0.9528 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.5313, allocations: 155.5 kB / 0.953 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.5313, allocations: 0 / 0.953 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5313, allocations: 0 / 0.953 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.5313, allocations: 1.344 kB / 0.953 GB, free: 6.715 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004106/0.5317, allocations: 401.6 kB / 0.9533 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.5318, allocations: 10.31 kB / 0.9534 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.516e-05/0.5318, allocations: 35.84 kB / 0.9534 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000101/0.5319, allocations: 15.19 kB / 0.9534 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001114/0.532, allocations: 196.5 kB / 0.9536 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-06/0.532, allocations: 1.531 kB / 0.9536 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.182e-05/0.532, allocations: 7.062 kB / 0.9536 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.5322, allocations: 61.77 kB / 0.9537 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.5322, allocations: 0 / 0.9537 GB, free: 5.98 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.247e-06/0.5322, allocations: 5.281 kB / 0.9537 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.5322, allocations: 0 / 0.9537 GB, free: 5.977 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001324/0.5324, allocations: 48.27 kB / 0.9537 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003265/0.5327, allocations: 292.1 kB / 0.954 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.5328, allocations: 56.61 kB / 0.954 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.254e-05/0.5329, allocations: 35.28 kB / 0.9541 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.5329, allocations: 4.062 kB / 0.9541 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.327e-05/0.533, allocations: 31.62 kB / 0.9541 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.533, allocations: 0 / 0.9541 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003071/0.5333, allocations: 102.7 kB / 0.9542 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.064e-05/0.5333, allocations: 60.45 kB / 0.9543 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.832e-05/0.5334, allocations: 131.7 kB / 0.9544 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.935e-06/0.5334, allocations: 25.7 kB / 0.9544 GB, free: 5.254 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.158e-05/0.5334, allocations: 103.7 kB / 0.9545 GB, free: 5.152 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.368e-05/0.5334, allocations: 13.38 kB / 0.9545 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.258e-05/0.5335, allocations: 22.83 kB / 0.9546 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.485e-05/0.5335, allocations: 324.1 kB / 0.9549 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.5336, allocations: 21.17 kB / 0.9549 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.227e-05/0.5337, allocations: 28.73 kB / 0.9549 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001306/0.5338, allocations: 56.05 kB / 0.955 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5338, allocations: 0 / 0.955 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001875/0.534, allocations: 89.39 kB / 0.955 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.534, allocations: 6.094 kB / 0.9551 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.534, allocations: 7.922 kB / 0.9551 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.534, allocations: 0 / 0.9551 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.5341, allocations: 18.52 kB / 0.9551 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.5342, allocations: 1.125 kB / 0.9551 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.5342, allocations: 11.3 kB / 0.9551 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.074e-06/0.5342, allocations: 1.281 kB / 0.9551 GB, free: 4.656 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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 4.638e-05/0.5343, allocations: 113.3 kB / 0.9552 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.5343, allocations: 7.625 kB / 0.9552 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002081/0.5345, allocations: 103.3 kB / 0.9553 GB, free: 4.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.5346, allocations: 6.125 kB / 0.9553 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.5346, allocations: 0 / 0.9553 GB, free: 4.457 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.5346, allocations: 3.938 kB / 0.9553 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001232/0.5347, allocations: 183.5 kB / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5347, allocations: 0 / 0.9555 GB, free: 4.238 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.5348, allocations: 14.55 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.5348, allocations: 1.125 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.5348, allocations: 1.219 kB / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.5348, allocations: 0 / 0.9555 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5348, allocations: 9.016 kB / 0.9555 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.535, allocations: 192.7 kB / 0.9557 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.926e-05/0.535, allocations: 83.36 kB / 0.9558 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.6e-05/0.5351, allocations: 3.984 kB / 0.9558 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.806e-05/0.5352, allocations: 3.281 kB / 0.9558 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.496e-05/0.5352, allocations: 14.41 kB / 0.9558 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.881e-06/0.5352, allocations: 9.219 kB / 0.9558 GB, free: 3.938 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.747e-05/0.5353, allocations: 102.4 kB / 0.9559 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5353, allocations: 0 / 0.9559 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002287/0.5355, allocations: 27.53 kB / 0.9559 GB, free: 3.844 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 6 * 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.0003829/0.5359, allocations: 0.7248 MB / 0.9566 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000179/0.5361, allocations: 61.38 kB / 0.9567 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.5361, allocations: 0 / 0.9567 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.273e-05/0.5362, allocations: 30.95 kB / 0.9567 GB, free: 3.117 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002767/0.5364, allocations: 17.14 kB / 0.9567 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.5376, allocations: 1.455 MB / 0.9582 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.522e-05/0.5377, allocations: 0.6908 MB / 0.9588 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.456e-05/0.5377, allocations: 11.55 kB / 0.9589 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.982e-05/0.5378, allocations: 19.03 kB / 0.9589 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/0.5378, allocations: 0 / 0.9589 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7776/1.315, allocations: 2.274 MB / 0.9611 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.41/14.73, allocations: 12.55 kB / 0.9611 GB, free: 15.85 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches