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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001073/0.001073, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008342/0.008342, allocations: 170 kB / 16.26 MB, free: 6.68 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.386/1.386, 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 11.0.0-master/package.mo): time 2.547/2.547, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003636/0.0003636, allocations: 22 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2772, allocations: 159.6 MB / 1.059 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.001772/0.279, allocations: 1.331 MB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001419/0.2804, allocations: 0.931 MB / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.2805, allocations: 0 / 1.061 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.2805, allocations: 7.922 kB / 1.061 GB, free: 2.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001867/0.2807, allocations: 19.86 kB / 1.061 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.2811, allocations: 95.81 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001359/0.2812, allocations: 71.66 kB / 1.061 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.564e-05/0.2813, allocations: 8 kB / 1.061 GB, free: 2.371 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.511e-05/0.2814, allocations: 31.86 kB / 1.061 GB, free: 2.34 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.2815, allocations: 35.83 kB / 1.061 GB, free: 2.305 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.456e-05/0.2816, allocations: 4 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003897/0.282, allocations: 287.6 kB / 1.062 GB, free: 2.02 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.788e-05/0.282, allocations: 7.922 kB / 1.062 GB, free: 2.012 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.161e-05/0.282, allocations: 53.52 kB / 1.062 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.2823, allocations: 143.9 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2823, allocations: 4 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.663e-06/0.2823, allocations: 0 / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.519e-06/0.2823, allocations: 3.938 kB / 1.062 GB, free: 1.805 MB / 0.8106 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.0005072/0.2828, allocations: 399.3 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.2829, allocations: 15.95 kB / 1.062 GB, free: 1.352 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.917e-05/0.2829, allocations: 38.75 kB / 1.062 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001106/0.283, allocations: 12.84 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001727/0.2832, allocations: 188.2 kB / 1.062 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.2832, allocations: 4.375 kB / 1.062 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.2833, allocations: 8.312 kB / 1.062 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000188/0.2834, allocations: 77.75 kB / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.993e-06/0.2835, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.2835, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.2835, allocations: 0 / 1.062 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001585/0.2836, allocations: 51.97 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004264/0.2841, allocations: 300.7 kB / 1.063 GB, free: 0.582 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.2842, allocations: 62.44 kB / 1.063 GB, free: 0.5117 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.721e-05/0.2843, allocations: 40.95 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2844, allocations: 80 / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.193e-05/0.2844, allocations: 30.56 kB / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 8.11e-07/0.2844, allocations: 0 / 1.063 GB, free: 440 kB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003634/0.2848, allocations: 117.6 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.2848, allocations: 55.34 kB / 1.063 GB, free: 248 kB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.2849, allocations: 135.5 kB / 1.063 GB, free: 104 kB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2849, allocations: 25.7 kB / 1.063 GB, free: 72 kB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.285, allocations: 104.1 kB / 1.063 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.952e-05/0.285, allocations: 15.75 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.04e-05/0.2851, allocations: 9.719 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.787e-05/0.2852, allocations: 326.8 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.2853, allocations: 23.98 kB / 1.064 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.228e-05/0.2854, allocations: 27.98 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.2855, allocations: 64.83 kB / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.2855, allocations: 0 / 1.064 GB, free: 15.49 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002298/0.2858, allocations: 105.5 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.2858, allocations: 4 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.2858, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.066e-05/0.2858, allocations: 0 / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.2859, allocations: 15.98 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2859, allocations: 4 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.417e-05/0.286, allocations: 7.906 kB / 1.064 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.286, allocations: 4.438 kB / 1.064 GB, free: 15.34 MB / 0.8262 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 8.079e-05/0.2861, allocations: 121.8 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.46e-05/0.2862, allocations: 8 kB / 1.064 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002544/0.2864, allocations: 105.9 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.2864, allocations: 7.938 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.2864, allocations: 4 kB / 1.064 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.2865, allocations: 3.984 kB / 1.064 GB, free: 15.08 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001765/0.2866, allocations: 185.5 kB / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.2866, allocations: 0 / 1.064 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.2867, allocations: 15.98 kB / 1.064 GB, free: 14.84 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.2867, allocations: 4 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.2868, allocations: 0 / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2868, allocations: 3.938 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2868, allocations: 0 / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002659/0.287, allocations: 199.4 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.2871, allocations: 85.02 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.2871, allocations: 0 / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.2872, allocations: 11.94 kB / 1.065 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.826e-05/0.2873, allocations: 11.98 kB / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-06/0.2873, allocations: 0 / 1.065 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.1e-05/0.2873, allocations: 105.1 kB / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2873, allocations: 0 / 1.065 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002412/0.2876, allocations: 19.98 kB / 1.065 GB, free: 14.37 MB / 0.8262 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.0005901/0.2882, allocations: 0.7435 MB / 1.065 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000212/0.2884, allocations: 67.91 kB / 1.066 GB, free: 13.54 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2884, allocations: 4 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.885e-05/0.2885, allocations: 35.97 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003023/0.2888, allocations: 4 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.2904, allocations: 1.508 MB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.2907, allocations: 0.6926 MB / 1.068 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.776e-05/0.2907, allocations: 7.984 kB / 1.068 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.213e-05/0.2908, allocations: 23.42 kB / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of SimCode: time 3.71e-07/0.2908, allocations: 0 / 1.068 GB, free: 11.16 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5301/0.8209, allocations: 2.033 MB / 1.07 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002155/0.8212, allocations: 232.5 kB / 1.07 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.951, allocations: 0 / 1.07 GB, free: 9.039 MB / 0.8262 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=50 --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