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.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.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.001431/0.001431, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001698/0.001698, allocations: 195.7 kB / 16.14 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.331/1.331, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.337/2.337, allocations: 390.2 MB / 0.6643 GB, free: 0.6016 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 0.812 GB, free: 14.8 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6314/0.6328, allocations: 140.4 MB / 0.9491 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002481/0.6353, allocations: 1.664 MB / 0.9507 GB, free: 7.957 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001165/0.6365, allocations: 0.922 MB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.6365, allocations: 1.125 kB / 0.9516 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.083e-05/0.6366, allocations: 3.938 kB / 0.9516 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001702/0.6368, allocations: 23.31 kB / 0.9516 GB, free: 7.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.637, allocations: 104.1 kB / 0.9517 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.6371, allocations: 74.09 kB / 0.9518 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.528e-05/0.6372, allocations: 22.66 kB / 0.9518 GB, free: 7.09 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.275e-05/0.6373, allocations: 24.92 kB / 0.9518 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.6374, allocations: 33.5 kB / 0.9519 GB, free: 7.059 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.6374, allocations: 6.797 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.6377, allocations: 275.2 kB / 0.9521 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.572e-05/0.6378, allocations: 14.08 kB / 0.9521 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.431e-05/0.6378, allocations: 26.61 kB / 0.9522 GB, free: 6.875 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001938/0.638, allocations: 147 kB / 0.9523 GB, free: 6.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.638, allocations: 3.938 kB / 0.9523 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of FrontEnd: time 7.21e-07/0.638, allocations: 4 kB / 0.9523 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.638, allocations: 1.406 kB / 0.9523 GB, free: 6.77 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.0004557/0.6385, allocations: 406.5 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.118e-05/0.6385, allocations: 9.25 kB / 0.9527 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.738e-05/0.6386, allocations: 36.41 kB / 0.9527 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.6387, allocations: 9.938 kB / 0.9528 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.6388, allocations: 187.7 kB / 0.9529 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.053e-05/0.6388, allocations: 13.52 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.6389, allocations: 7.125 kB / 0.953 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.639, allocations: 57.3 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.639, allocations: 0.9688 kB / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.639, allocations: 0 / 0.953 GB, free: 6.035 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.6391, allocations: 4.812 kB / 0.953 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.6392, allocations: 48.61 kB / 0.9531 GB, free: 6.008 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.6396, allocations: 299.6 kB / 0.9533 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001246/0.6397, allocations: 53.27 kB / 0.9534 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.375e-05/0.6398, allocations: 34.06 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.6398, allocations: 1.062 kB / 0.9534 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.49e-05/0.6398, allocations: 39.75 kB / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.6398, allocations: 0 / 0.9535 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of matching and sorting (n=5): time 0.0003258/0.6402, allocations: 110.8 kB / 0.9536 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.104e-05/0.6402, allocations: 51.41 kB / 0.9536 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.241e-05/0.6403, allocations: 132.6 kB / 0.9537 GB, free: 5.332 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.796e-06/0.6403, allocations: 25.7 kB / 0.9538 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.304e-05/0.6403, allocations: 99.98 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.6403, allocations: 20.86 kB / 0.9539 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.431e-05/0.6404, allocations: 23.03 kB / 0.9539 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.248e-05/0.6404, allocations: 320.2 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-05/0.6405, allocations: 24.98 kB / 0.9542 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.384e-05/0.6406, allocations: 20.23 kB / 0.9543 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.6407, allocations: 60.14 kB / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.6407, allocations: 0 / 0.9543 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001963/0.6409, allocations: 86.61 kB / 0.9544 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.6409, allocations: 8.078 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.641, allocations: 1.312 kB / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.641, allocations: 0 / 0.9544 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.6411, allocations: 19.67 kB / 0.9544 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.6411, allocations: 0 / 0.9544 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.013e-05/0.6412, allocations: 6.812 kB / 0.9544 GB, free: 4.715 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.6412, allocations: 9.859 kB / 0.9544 GB, free: 4.707 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 5.051e-05/0.6412, allocations: 117.4 kB / 0.9546 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.019e-05/0.6413, allocations: 6.969 kB / 0.9546 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.6415, allocations: 95.86 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.6415, allocations: 1.531 kB / 0.9547 GB, free: 4.516 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6415, allocations: 4 kB / 0.9547 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6415, allocations: 5.281 kB / 0.9547 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001316/0.6417, allocations: 194.9 kB / 0.9548 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.6417, allocations: 0 / 0.9548 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.293e-05/0.6418, allocations: 10.81 kB / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.6418, allocations: 1.125 kB / 0.9549 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.6418, allocations: 7.984 kB / 0.9549 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.6418, allocations: 5.469 kB / 0.9549 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.6418, allocations: 0 / 0.9549 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000209/0.642, allocations: 192.8 kB / 0.9551 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.954e-05/0.642, allocations: 83.27 kB / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.642, allocations: 0 / 0.9551 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.682e-05/0.6421, allocations: 7.281 kB / 0.9551 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.762e-05/0.6422, allocations: 6.891 kB / 0.9551 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.6422, allocations: 5.094 kB / 0.9552 GB, free: 3.992 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.119e-05/0.6422, allocations: 101.8 kB / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.6422, allocations: 0 / 0.9553 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000241/0.6425, allocations: 22.53 kB / 0.9553 GB, free: 3.902 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.0004327/0.6429, allocations: 0.7418 MB / 0.956 GB, free: 3.199 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000185/0.6431, allocations: 51.75 kB / 0.956 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.6431, allocations: 5.094 kB / 0.9561 GB, free: 3.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.6432, allocations: 30.02 kB / 0.9561 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.6435, allocations: 18.89 kB / 0.9561 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001207/0.6447, allocations: 1.471 MB / 0.9575 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001067/0.6449, allocations: 0.6927 MB / 0.9582 GB, free: 1.102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.791e-05/0.6449, allocations: 7.688 kB / 0.9582 GB, free: 1.098 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.254e-05/0.645, allocations: 25.86 kB / 0.9582 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of SimCode: time 3.1e-07/0.645, allocations: 0 / 0.9582 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2925/0.9374, allocations: 2.078 MB / 0.9603 GB, free: 52 kB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003151/0.9378, allocations: 222.5 kB / 0.9605 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.915/2.852, allocations: 0 / 0.9605 GB, free: 15.8 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