Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.HADryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil,fileNamePrefix="Buildings_9_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.007062/0.007062, allocations: 100.1 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.00171/0.001711, allocations: 196.1 kB / 16.68 MB, free: 5.93 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.336/1.336, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.161/2.161, allocations: 390.3 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 63.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7793/0.7807, allocations: 140.4 MB / 1.088 GB, free: 5.285 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002902/0.7837, allocations: 2.156 MB / 1.09 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.7853, allocations: 1.024 MB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001263/0.7854, allocations: 2.156 kB / 1.091 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 5.782e-05/0.7855, allocations: 25.03 kB / 1.091 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.7858, allocations: 85.17 kB / 1.091 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004767/0.7863, allocations: 188.5 kB / 1.091 GB, free: 2.891 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003012/0.7866, allocations: 298.8 kB / 1.091 GB, free: 2.746 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001545/0.7868, allocations: 61.66 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001433/0.7869, allocations: 114.7 kB / 1.091 GB, free: 2.66 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.7872, allocations: 147.7 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.7872, allocations: 17.59 kB / 1.092 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004986/0.7877, allocations: 297.7 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.608e-05/0.7878, allocations: 48.52 kB / 1.092 GB, free: 2.488 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001088/0.7879, allocations: 122.5 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004295/0.7883, allocations: 332.2 kB / 1.092 GB, free: 2.277 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.7883, allocations: 3.938 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7883, allocations: 0.8438 kB / 1.092 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.7883, allocations: 0 / 1.092 GB, free: 2.273 MB / 0.8575 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.001037/0.7894, allocations: 0.6206 MB / 1.093 GB, free: 1.773 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.7894, allocations: 14.83 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.41e-05/0.7895, allocations: 50.33 kB / 1.093 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002103/0.7897, allocations: 38.3 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000391/0.7901, allocations: 286.3 kB / 1.093 GB, free: 1.445 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.487e-05/0.7901, allocations: 14.25 kB / 1.093 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.247e-05/0.7902, allocations: 18.05 kB / 1.093 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005328/0.7907, allocations: 227.9 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.7907, allocations: 0.7812 kB / 1.094 GB, free: 1.305 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.895e-05/0.7907, allocations: 9.469 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.7908, allocations: 4.25 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007017/0.7915, allocations: 198.1 kB / 1.094 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001018/0.7925, allocations: 0.951 MB / 1.095 GB, free: 452 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008267/0.7933, allocations: 240.7 kB / 1.095 GB, free: 352 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003474/0.7937, allocations: 103.9 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.7937, allocations: 1.469 kB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.814e-05/0.7938, allocations: 44.72 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=16): time 1.924e-06/0.7938, allocations: 0.7812 kB / 1.095 GB, free: 264 kB / 0.8575 GB Notification: Performance of matching and sorting (n=16): time 0.001265/0.795, allocations: 331.6 kB / 1.095 GB, free: 160 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.7951, allocations: 84.02 kB / 1.095 GB, free: 60 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003216/0.7954, allocations: 261.6 kB / 1.096 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.7954, allocations: 31.17 kB / 1.096 GB, free: 15.88 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.7956, allocations: 161.7 kB / 1.096 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.849e-05/0.7956, allocations: 54.16 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.7e-05/0.7957, allocations: 48.66 kB / 1.096 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.7958, allocations: 336.8 kB / 1.096 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003659/0.7962, allocations: 87.8 kB / 1.096 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003946/0.7966, allocations: 144.4 kB / 1.096 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007441/0.7974, allocations: 240.7 kB / 1.097 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.7974, allocations: 3.938 kB / 1.097 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009436/0.7983, allocations: 288.7 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.7984, allocations: 5.656 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.7984, allocations: 5.75 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.929e-05/0.7984, allocations: 3.344 kB / 1.097 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003095/0.7987, allocations: 64.55 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.035e-05/0.7987, allocations: 2.688 kB / 1.097 GB, free: 15 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002654/0.799, allocations: 38.17 kB / 1.097 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.799, allocations: 12.12 kB / 1.097 GB, free: 14.98 MB / 0.8731 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 0.0001355/0.7992, allocations: 140 kB / 1.097 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/0.7993, allocations: 28.22 kB / 1.097 GB, free: 14.83 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008977/0.8002, allocations: 295.7 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.8002, allocations: 2.469 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.8002, allocations: 1.344 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8002, allocations: 1.359 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.8007, allocations: 298.5 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8007, allocations: 0.5312 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.801, allocations: 54.94 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.801, allocations: 2 kB / 1.098 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.801, allocations: 10.12 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.801, allocations: 1.703 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.801, allocations: 5.188 kB / 1.098 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009054/0.8019, allocations: 442.2 kB / 1.098 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.805e-05/0.802, allocations: 105.4 kB / 1.098 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.8021, allocations: 6.219 kB / 1.098 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.8024, allocations: 23.25 kB / 1.098 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.706e-05/0.8024, allocations: 21.58 kB / 1.098 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/0.8025, allocations: 4.688 kB / 1.098 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002112/0.8027, allocations: 194.2 kB / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8027, allocations: 0 / 1.099 GB, free: 13.95 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003948/0.8031, allocations: 52.11 kB / 1.099 GB, free: 13.94 MB / 0.8731 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.001267/0.8044, allocations: 0.9878 MB / 1.1 GB, free: 13.14 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0008742/0.8052, allocations: 227.5 kB / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8053, allocations: 0 / 1.1 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0003815/0.8056, allocations: 124.6 kB / 1.1 GB, free: 13.05 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.8062, allocations: 76 kB / 1.1 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004439/0.8107, allocations: 2.71 MB / 1.103 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.8112, allocations: 0.751 MB / 1.103 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001893/0.8114, allocations: 30.3 kB / 1.104 GB, free: 10.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.8115, allocations: 85.55 kB / 1.104 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of SimCode: time 6.82e-07/0.8115, allocations: 0.5 kB / 1.104 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.274/2.086, allocations: 6.564 MB / 1.11 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.344/10.43, allocations: 1.406 kB / 1.11 GB, free: 9.703 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil_fmu --startTime=0 --stopTime=80 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HADryCoil.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches