Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_latest_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.004771/0.004771, allocations: 101 kB / 15.73 MB, free: 6.008 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.001342/0.001342, allocations: 196.1 kB / 16.67 MB, free: 5.926 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.279/1.279, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.421/2.421, allocations: 482.7 MB / 0.7551 GB, free: 6.637 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001709/0.001709, allocations: 65.61 kB / 1.083 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2575/0.2593, allocations: 162.3 MB / 1.242 GB, free: 8.895 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002461/0.2618, allocations: 1.616 MB / 1.243 GB, free: 7.266 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001273/0.263, allocations: 0.9051 MB / 1.244 GB, free: 6.355 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.652e-05/0.2631, allocations: 3.938 kB / 1.244 GB, free: 6.352 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.724e-05/0.2631, allocations: 7.875 kB / 1.244 GB, free: 6.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.2633, allocations: 23.78 kB / 1.244 GB, free: 6.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.2636, allocations: 139.6 kB / 1.245 GB, free: 6.184 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001234/0.2638, allocations: 75.78 kB / 1.245 GB, free: 6.109 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 7.634e-05/0.2638, allocations: 19.97 kB / 1.245 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 7.537e-05/0.2639, allocations: 31.8 kB / 1.245 GB, free: 6.059 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.264, allocations: 35.84 kB / 1.245 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.58e-05/0.2641, allocations: 4 kB / 1.245 GB, free: 6.02 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003813/0.2645, allocations: 287.6 kB / 1.245 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.811e-05/0.2645, allocations: 11.92 kB / 1.245 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.631e-05/0.2645, allocations: 27.86 kB / 1.245 GB, free: 5.699 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002253/0.2648, allocations: 159.7 kB / 1.245 GB, free: 5.543 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2648, allocations: 3.938 kB / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2648, allocations: 0 / 1.245 GB, free: 5.539 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.2648, allocations: 0 / 1.245 GB, free: 5.539 MB / 0.9669 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.0005081/0.2653, allocations: 410.8 kB / 1.246 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.2653, allocations: 12.03 kB / 1.246 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.836e-05/0.2654, allocations: 38.69 kB / 1.246 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.708e-05/0.2655, allocations: 20.88 kB / 1.246 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000186/0.2657, allocations: 186.5 kB / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.2657, allocations: 384 / 1.246 GB, free: 4.793 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.056e-05/0.2657, allocations: 4.375 kB / 1.246 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.2659, allocations: 69.77 kB / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.2659, allocations: 0 / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.2659, allocations: 0 / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2659, allocations: 0 / 1.246 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001436/0.266, allocations: 43.97 kB / 1.246 GB, free: 4.672 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.2664, allocations: 304.7 kB / 1.246 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.2666, allocations: 46.56 kB / 1.246 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.25e-05/0.2667, allocations: 36.95 kB / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.356e-05/0.2667, allocations: 4 kB / 1.246 GB, free: 4.227 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.2667, allocations: 30.56 kB / 1.246 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.2667, allocations: 0 / 1.246 GB, free: 4.188 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5): time 0.0003387/0.2671, allocations: 109.5 kB / 1.246 GB, free: 4.074 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.534e-05/0.2671, allocations: 55.41 kB / 1.246 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.2672, allocations: 129.8 kB / 1.247 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.555e-05/0.2672, allocations: 29.7 kB / 1.247 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.2673, allocations: 96.12 kB / 1.247 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.675e-05/0.2673, allocations: 15.84 kB / 1.247 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.755e-05/0.2674, allocations: 17.72 kB / 1.247 GB, free: 3.699 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.2675, allocations: 326.8 kB / 1.247 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.477e-05/0.2676, allocations: 19.98 kB / 1.247 GB, free: 3.352 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.565e-05/0.2676, allocations: 19.98 kB / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.2678, allocations: 61.14 kB / 1.247 GB, free: 3.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2678, allocations: 7.938 kB / 1.247 GB, free: 3.262 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002092/0.268, allocations: 93.61 kB / 1.247 GB, free: 3.164 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.268, allocations: 9.406 kB / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.268, allocations: 0 / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.608e-06/0.2681, allocations: 0 / 1.247 GB, free: 3.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.971e-05/0.2682, allocations: 15.92 kB / 1.247 GB, free: 3.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.2682, allocations: 8 kB / 1.247 GB, free: 3.133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.385e-05/0.2682, allocations: 3.953 kB / 1.247 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.2683, allocations: 7.984 kB / 1.247 GB, free: 3.121 MB / 0.9669 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 7.548e-05/0.2683, allocations: 117.8 kB / 1.247 GB, free: 2.996 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.83e-05/0.2684, allocations: 7.953 kB / 1.247 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.2686, allocations: 101.9 kB / 1.247 GB, free: 2.883 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2686, allocations: 4 kB / 1.248 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.2686, allocations: 0 / 1.248 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2686, allocations: 0 / 1.248 GB, free: 2.879 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001779/0.2688, allocations: 185.6 kB / 1.248 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.2688, allocations: 0 / 1.248 GB, free: 2.648 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.141e-05/0.2689, allocations: 19.98 kB / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2689, allocations: 0 / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.2689, allocations: 0 / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2689, allocations: 0 / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2689, allocations: 0 / 1.248 GB, free: 2.629 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002516/0.2692, allocations: 199.3 kB / 1.248 GB, free: 2.418 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.15e-05/0.2692, allocations: 81.06 kB / 1.248 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.2693, allocations: 192 / 1.248 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.291e-05/0.2694, allocations: 11.98 kB / 1.248 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.2694, allocations: 4 kB / 1.248 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2694, allocations: 0 / 1.248 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.334e-05/0.2695, allocations: 101.3 kB / 1.248 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2695, allocations: 4 kB / 1.248 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002235/0.2697, allocations: 31.92 kB / 1.248 GB, free: 2.172 MB / 0.9669 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.0005681/0.2703, allocations: 0.7363 MB / 1.249 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.2705, allocations: 63.95 kB / 1.249 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.2705, allocations: 0 / 1.249 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.23e-05/0.2706, allocations: 27.92 kB / 1.249 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002389/0.2708, allocations: 15.94 kB / 1.249 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001479/0.2723, allocations: 1.445 MB / 1.25 GB, free: 15.78 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002751/0.2726, allocations: 0.6962 MB / 1.251 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.951e-05/0.2726, allocations: 4 kB / 1.251 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.848e-05/0.2727, allocations: 27.36 kB / 1.251 GB, free: 15.03 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.2727, allocations: 4 kB / 1.251 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8941/1.167, allocations: 2.316 MB / 1.253 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.11/16.28, allocations: 7.594 kB / 1.253 GB, free: 12.85 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches