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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001198/0.001198, 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.001407/0.001407, allocations: 195.8 kB / 16.53 MB, free: 6.699 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.202/1.202, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.399/2.399, allocations: 461.9 MB / 0.7346 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 63.11 kB / 0.8992 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2523, allocations: 157.4 MB / 1.053 GB, free: 8.324 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.002685/0.255, allocations: 1.608 MB / 1.054 GB, free: 6.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001168/0.2562, allocations: 0.9234 MB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.311e-05/0.2562, allocations: 0 / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.2563, allocations: 3.938 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.2564, allocations: 23.78 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002953/0.2567, allocations: 151.5 kB / 1.056 GB, free: 5.598 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.2569, allocations: 71.66 kB / 1.056 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.257, allocations: 15.98 kB / 1.056 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.005e-05/0.257, allocations: 31.92 kB / 1.056 GB, free: 5.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001028/0.2571, allocations: 39.84 kB / 1.056 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.2572, allocations: 4 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003508/0.2575, allocations: 279.6 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.847e-05/0.2575, allocations: 19.86 kB / 1.056 GB, free: 5.145 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.558e-05/0.2576, allocations: 31.8 kB / 1.056 GB, free: 5.113 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.2578, allocations: 151.9 kB / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.2578, allocations: 0 / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2578, allocations: 0 / 1.056 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.2578, allocations: 0 / 1.056 GB, free: 4.965 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.0004806/0.2583, allocations: 407.1 kB / 1.057 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2583, allocations: 12.62 kB / 1.057 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.264e-05/0.2584, allocations: 34.75 kB / 1.057 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.2585, allocations: 16.83 kB / 1.057 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2586, allocations: 181.6 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.24e-06/0.2587, allocations: 4.375 kB / 1.057 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.376e-05/0.2587, allocations: 4.359 kB / 1.057 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001545/0.2588, allocations: 77.77 kB / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.2588, allocations: 0 / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.2589, allocations: 0 / 1.057 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.2589, allocations: 3.938 kB / 1.057 GB, free: 4.141 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001349/0.259, allocations: 43.97 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003712/0.2594, allocations: 300.7 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/0.2595, allocations: 46.56 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.256e-05/0.2596, allocations: 36.91 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.2596, allocations: 0 / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.579e-05/0.2596, allocations: 34.5 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=5): time 8.42e-07/0.2596, allocations: 0 / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5): time 0.0003244/0.26, allocations: 109.6 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.543e-05/0.26, allocations: 51.41 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.298e-05/0.2601, allocations: 135.8 kB / 1.058 GB, free: 3.301 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.323e-05/0.2601, allocations: 25.7 kB / 1.058 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.132e-05/0.2602, allocations: 96.12 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.2602, allocations: 15.75 kB / 1.058 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.2602, allocations: 21.72 kB / 1.058 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.079e-05/0.2603, allocations: 326.8 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.99e-05/0.2604, allocations: 20.23 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.435e-05/0.2605, allocations: 27.92 kB / 1.058 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.2606, allocations: 52.83 kB / 1.058 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.2606, allocations: 3.938 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001961/0.2608, allocations: 97.56 kB / 1.058 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.2608, allocations: 8 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.2608, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.638e-06/0.2609, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/0.261, allocations: 11.98 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.261, allocations: 7.984 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.496e-05/0.261, allocations: 0 / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.2611, allocations: 11.92 kB / 1.058 GB, free: 2.555 MB / 0.8106 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 6.554e-05/0.2611, allocations: 117.8 kB / 1.058 GB, free: 2.43 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.946e-05/0.2612, allocations: 11.91 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000233/0.2614, allocations: 93.97 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.487e-06/0.2614, allocations: 3.984 kB / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.2614, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.886e-06/0.2614, allocations: 0 / 1.058 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001617/0.2616, allocations: 189.6 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.91e-07/0.2616, allocations: 0 / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.012e-05/0.2617, allocations: 19.92 kB / 1.059 GB, free: 2.062 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2617, allocations: 4 kB / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.2617, allocations: 0 / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.2617, allocations: 256 / 1.059 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2617, allocations: 7.938 kB / 1.059 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000223/0.262, allocations: 187.4 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.207e-05/0.262, allocations: 85.02 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.55e-05/0.262, allocations: 0 / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.108e-05/0.2621, allocations: 11.98 kB / 1.059 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.2621, allocations: 8 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.2622, allocations: 0 / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.274e-05/0.2622, allocations: 96.36 kB / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2622, allocations: 0 / 1.059 GB, free: 1.637 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002286/0.2624, allocations: 35.92 kB / 1.059 GB, free: 1.602 MB / 0.8106 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.0005028/0.263, allocations: 0.7318 MB / 1.06 GB, free: 0.8438 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001885/0.2632, allocations: 63.89 kB / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.2632, allocations: 0 / 1.06 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 7.38e-05/0.2632, allocations: 23.98 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.2635, allocations: 16 kB / 1.06 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.2649, allocations: 1.446 MB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.2651, allocations: 0.6924 MB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.504e-05/0.2651, allocations: 7.984 kB / 1.062 GB, free: 14.49 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.462e-05/0.2652, allocations: 23.42 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2652, allocations: 0 / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.661/1.926, allocations: 2.283 MB / 1.064 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.676/9.603, allocations: 9.203 kB / 1.064 GB, free: 12.3 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