Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.HADryCoil,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_latest_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.004941/0.004941, allocations: 100.9 kB / 15.73 MB, free: 6.043 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.001349/0.001349, allocations: 202.3 kB / 16.68 MB, free: 5.965 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.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.556/2.556, allocations: 482.6 MB / 0.755 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 63.89 kB / 1.083 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2616, allocations: 162.3 MB / 1.242 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002878/0.2645, allocations: 2.156 MB / 1.244 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001403/0.2659, allocations: 1.044 MB / 1.245 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.079e-05/0.266, allocations: 7.938 kB / 1.245 GB, free: 6.602 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 5.389e-05/0.2661, allocations: 27.66 kB / 1.245 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002461/0.2663, allocations: 83.28 kB / 1.245 GB, free: 6.492 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003591/0.2667, allocations: 191.5 kB / 1.245 GB, free: 6.305 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.267, allocations: 286.9 kB / 1.246 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2672, allocations: 64.7 kB / 1.246 GB, free: 5.961 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001162/0.2673, allocations: 111.5 kB / 1.246 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000208/0.2675, allocations: 143.3 kB / 1.246 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.308e-05/0.2675, allocations: 16 kB / 1.246 GB, free: 5.695 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003959/0.2679, allocations: 299.6 kB / 1.246 GB, free: 5.402 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.268, allocations: 51.78 kB / 1.246 GB, free: 5.352 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.2681, allocations: 123.3 kB / 1.246 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003573/0.2685, allocations: 326.5 kB / 1.247 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2685, allocations: 4 kB / 1.247 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.005e-06/0.2685, allocations: 0 / 1.247 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.2685, allocations: 3.938 kB / 1.247 GB, free: 4.902 MB / 0.9981 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.0009793/0.2695, allocations: 0.6384 MB / 1.247 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.128e-05/0.2695, allocations: 8.031 kB / 1.247 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.008e-05/0.2696, allocations: 46.73 kB / 1.247 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.2698, allocations: 36.75 kB / 1.247 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003264/0.2701, allocations: 295.7 kB / 1.248 GB, free: 3.785 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.2701, allocations: 8.656 kB / 1.248 GB, free: 3.777 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.187e-05/0.2701, allocations: 16.38 kB / 1.248 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.2706, allocations: 228.7 kB / 1.248 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.2707, allocations: 3.938 kB / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.89e-05/0.2707, allocations: 15.92 kB / 1.248 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.2707, allocations: 4 kB / 1.248 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006266/0.2713, allocations: 191.8 kB / 1.248 GB, free: 3.305 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00105/0.2724, allocations: 0.9464 MB / 1.249 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007116/0.2731, allocations: 237.2 kB / 1.249 GB, free: 2.039 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003201/0.2734, allocations: 113.6 kB / 1.249 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.169e-05/0.2735, allocations: 0 / 1.249 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.2735, allocations: 34.56 kB / 1.249 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 9.61e-07/0.2735, allocations: 0 / 1.249 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.001091/0.2746, allocations: 341.5 kB / 1.25 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.2746, allocations: 81.11 kB / 1.25 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.2749, allocations: 263 kB / 1.25 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.99e-05/0.2749, allocations: 29.7 kB / 1.25 GB, free: 1.145 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.275, allocations: 168.2 kB / 1.25 GB, free: 0.9766 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.855e-05/0.2751, allocations: 47.59 kB / 1.25 GB, free: 0.9297 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.174e-05/0.2752, allocations: 45.66 kB / 1.25 GB, free: 0.8789 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.2753, allocations: 338.8 kB / 1.251 GB, free: 0.5391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.2756, allocations: 91.92 kB / 1.251 GB, free: 460 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.276, allocations: 148.3 kB / 1.251 GB, free: 292 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006426/0.2766, allocations: 242.4 kB / 1.251 GB, free: 28 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2766, allocations: 0 / 1.251 GB, free: 28 kB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.4342/0.7108, allocations: 286.2 kB / 1.251 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.7109, allocations: 7 kB / 1.251 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7109, allocations: 2.297 kB / 1.251 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.7109, allocations: 2.906 kB / 1.251 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002828/0.7112, allocations: 65.55 kB / 1.251 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.7112, allocations: 2.938 kB / 1.251 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.7114, allocations: 42.48 kB / 1.252 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.604e-05/0.7114, allocations: 7.531 kB / 1.252 GB, free: 14.28 MB / 0.9981 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.711e-05/0.7115, allocations: 142.5 kB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.7116, allocations: 29.59 kB / 1.252 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007721/0.7124, allocations: 293.6 kB / 1.252 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.7124, allocations: 2.438 kB / 1.252 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.7124, allocations: 1.156 kB / 1.252 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7124, allocations: 4.938 kB / 1.252 GB, free: 14.12 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002917/0.7127, allocations: 297.3 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.7128, allocations: 5.5 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002423/0.713, allocations: 50.02 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.713, allocations: 1.859 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.308e-05/0.713, allocations: 5.062 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.713, allocations: 2.281 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.713, allocations: 0.7812 kB / 1.252 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000736/0.7138, allocations: 450.9 kB / 1.253 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.7138, allocations: 106.8 kB / 1.253 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.7139, allocations: 5.375 kB / 1.253 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.7141, allocations: 25.89 kB / 1.253 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.956e-05/0.7142, allocations: 18.17 kB / 1.253 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.7142, allocations: 8.656 kB / 1.253 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001398/0.7143, allocations: 193.2 kB / 1.253 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7143, allocations: 0 / 1.253 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000322/0.7147, allocations: 60.62 kB / 1.253 GB, free: 13.52 MB / 0.9981 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.0009264/0.7156, allocations: 0.9838 MB / 1.254 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0006973/0.7163, allocations: 231.7 kB / 1.254 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.7163, allocations: 0 / 1.254 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003356/0.7167, allocations: 122.5 kB / 1.254 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004822/0.7171, allocations: 81.66 kB / 1.255 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003271/0.7204, allocations: 2.706 MB / 1.257 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001519/0.7206, allocations: 0.7535 MB / 1.258 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.000125/0.7207, allocations: 28.66 kB / 1.258 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.7208, allocations: 84.56 kB / 1.258 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of SimCode: time 3.5e-07/0.7208, allocations: 4 kB / 1.258 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.429/4.15, allocations: 6.568 MB / 1.264 GB, free: 9.883 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.952/13.1, allocations: 9.875 kB / 1.264 GB, free: 9.875 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches