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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",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.0008802/0.0008803, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005713/0.005713, allocations: 172 kB / 16.27 MB, free: 6.652 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.303/1.303, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.207/2.207, allocations: 390.9 MB / 0.6664 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00038/0.00038, allocations: 20 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5396/0.54, allocations: 142.4 MB / 0.9552 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.001967/0.542, allocations: 1.847 MB / 0.957 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.5434, allocations: 1.038 MB / 0.958 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001478/0.5436, allocations: 7.562 kB / 0.958 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.886e-05/0.5436, allocations: 15.84 kB / 0.958 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002757/0.5439, allocations: 70.16 kB / 0.9581 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003573/0.5443, allocations: 144 kB / 0.9582 GB, free: 5.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002439/0.5445, allocations: 281.2 kB / 0.9585 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.5447, allocations: 63.77 kB / 0.9586 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.5448, allocations: 93.08 kB / 0.9586 GB, free: 5 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/0.545, allocations: 134.4 kB / 0.9588 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.545, allocations: 7.812 kB / 0.9588 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003264/0.5453, allocations: 284.1 kB / 0.959 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.906e-05/0.5454, allocations: 38.02 kB / 0.9591 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.705e-05/0.5454, allocations: 129.9 kB / 0.9592 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.5457, allocations: 312.6 kB / 0.9595 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.065e-06/0.5457, allocations: 5.375 kB / 0.9595 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5457, allocations: 0 / 0.9595 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.937e-06/0.5457, allocations: 0 / 0.9595 GB, free: 4.406 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008079/0.5465, allocations: 0.6074 MB / 0.9601 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.5466, allocations: 13.62 kB / 0.9601 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.5466, allocations: 46.86 kB / 0.9602 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001824/0.5468, allocations: 41.17 kB / 0.9602 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000216/0.547, allocations: 272.5 kB / 0.9605 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.5471, allocations: 14.16 kB / 0.9605 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.56e-05/0.5471, allocations: 22.88 kB / 0.9605 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004773/0.5476, allocations: 251 kB / 0.9607 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.5476, allocations: 1 kB / 0.9607 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.5476, allocations: 6.094 kB / 0.9607 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.5476, allocations: 3.219 kB / 0.9607 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006576/0.5483, allocations: 249.6 kB / 0.961 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008416/0.5491, allocations: 0.9478 MB / 0.9619 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007205/0.5499, allocations: 265.1 kB / 0.9622 GB, free: 2.207 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.5502, allocations: 132.1 kB / 0.9623 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.5502, allocations: 6.406 kB / 0.9623 GB, free: 2.137 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.213e-05/0.5502, allocations: 31.72 kB / 0.9623 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.5503, allocations: 0.875 kB / 0.9623 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.001166/0.5514, allocations: 408.8 kB / 0.9627 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.5515, allocations: 79.11 kB / 0.9628 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002053/0.5517, allocations: 266.7 kB / 0.963 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.5517, allocations: 31.2 kB / 0.9631 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.424e-05/0.5518, allocations: 157.3 kB / 0.9632 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.5518, allocations: 57.23 kB / 0.9633 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-05/0.5518, allocations: 24 kB / 0.9633 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.574e-05/0.5519, allocations: 335.7 kB / 0.9636 GB, free: 1.039 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003264/0.5522, allocations: 114.2 kB / 0.9637 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003321/0.5526, allocations: 163.1 kB / 0.9639 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006438/0.5532, allocations: 291.3 kB / 0.9642 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5532, allocations: 1.062 kB / 0.9642 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007657/0.554, allocations: 334.4 kB / 0.9645 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.554, allocations: 5.625 kB / 0.9645 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.554, allocations: 2.781 kB / 0.9645 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.554, allocations: 3.125 kB / 0.9645 GB, free: 0.5703 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.5543, allocations: 72.61 kB / 0.9646 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.5543, allocations: 2.625 kB / 0.9646 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002376/0.5546, allocations: 57.77 kB / 0.9646 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.611e-05/0.5546, allocations: 6.156 kB / 0.9646 GB, free: 0.5195 MB / 0.7169 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 8.457e-05/0.5547, allocations: 139.5 kB / 0.9648 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.5548, allocations: 24.62 kB / 0.9648 GB, free: 380 kB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008072/0.5556, allocations: 334 kB / 0.9651 GB, free: 208 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.5556, allocations: 7.062 kB / 0.9651 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5556, allocations: 4.906 kB / 0.9651 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5556, allocations: 0 / 0.9651 GB, free: 200 kB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.556, allocations: 302.6 kB / 0.9654 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.556, allocations: 4 kB / 0.9654 GB, free: 15.9 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00026/0.5563, allocations: 59.95 kB / 0.9655 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.5563, allocations: 5.969 kB / 0.9655 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.447e-05/0.5563, allocations: 5.25 kB / 0.9655 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.5563, allocations: 1.844 kB / 0.9655 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.5563, allocations: 1.031 kB / 0.9655 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.5572, allocations: 488.3 kB / 0.9659 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.152e-05/0.5572, allocations: 103.7 kB / 0.966 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.349e-05/0.5573, allocations: 6.406 kB / 0.966 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002695/0.5575, allocations: 39.22 kB / 0.9661 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.284e-05/0.5576, allocations: 16 kB / 0.9661 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.5576, allocations: 7.656 kB / 0.9661 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001604/0.5578, allocations: 190 kB / 0.9663 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5578, allocations: 1.031 kB / 0.9663 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003447/0.5582, allocations: 54.06 kB / 0.9663 GB, free: 15.28 MB / 0.7325 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.001184/0.5594, allocations: 1.043 MB / 0.9674 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0007745/0.5601, allocations: 268.1 kB / 0.9676 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.5601, allocations: 0 / 0.9676 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003725/0.5605, allocations: 141 kB / 0.9678 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005762/0.5611, allocations: 70.86 kB / 0.9678 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003974/0.5651, allocations: 2.924 MB / 0.9707 GB, free: 12 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/0.5654, allocations: 0.7492 MB / 0.9714 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002261/0.5656, allocations: 29.88 kB / 0.9714 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001682/0.5658, allocations: 84.97 kB / 0.9715 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.5658, allocations: 4 kB / 0.9715 GB, free: 11.19 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.997/2.563, allocations: 5.886 MB / 0.9773 GB, free: 8.336 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/2.563, allocations: 220.5 kB / 0.9775 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.83/4.393, allocations: 4 kB / 0.9775 GB, free: 8.07 MB / 0.7325 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > 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