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.001551/0.001551, allocations: 108 kB / 15.6 MB, free: 132 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.001794/0.001794, allocations: 198.2 kB / 16.54 MB, free: 6.672 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.232/1.232, 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 9.1.3-maint.9.1.x/package.mo): time 2.089/2.089, allocations: 390.3 MB / 0.6647 GB, free: 432 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 0.8126 GB, free: 14.34 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4718/0.473, allocations: 140.4 MB / 0.9497 GB, free: 9.211 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HADryCoil): time 0.002475/0.4755, allocations: 2.15 MB / 0.9518 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001093/0.4766, allocations: 1.034 MB / 0.9528 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.718e-05/0.4767, allocations: 3.781 kB / 0.9528 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.4768, allocations: 23.67 kB / 0.9529 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.477, allocations: 86.62 kB / 0.9529 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.4773, allocations: 180.2 kB / 0.9531 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.4775, allocations: 299.9 kB / 0.9534 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001306/0.4777, allocations: 68.41 kB / 0.9535 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.081e-05/0.4778, allocations: 112.8 kB / 0.9536 GB, free: 6.172 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.4779, allocations: 138.7 kB / 0.9537 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.478, allocations: 17.62 kB / 0.9537 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003036/0.4783, allocations: 299.2 kB / 0.954 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.908e-05/0.4783, allocations: 54.94 kB / 0.9541 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.319e-05/0.4784, allocations: 116.1 kB / 0.9542 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.4787, allocations: 325 kB / 0.9545 GB, free: 5.566 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4787, allocations: 5.219 kB / 0.9545 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.132e-06/0.4787, allocations: 0 / 0.9545 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.4787, allocations: 0 / 0.9545 GB, free: 5.562 MB / 0.7169 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.0007951/0.4795, allocations: 0.6211 MB / 0.9551 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 2.839e-05/0.4795, allocations: 10.66 kB / 0.9551 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.128e-05/0.4795, allocations: 46.27 kB / 0.9551 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.4797, allocations: 45.89 kB / 0.9552 GB, free: 4.941 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.4799, allocations: 278.8 kB / 0.9555 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.48, allocations: 9.812 kB / 0.9555 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.48, allocations: 22.62 kB / 0.9555 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.4804, allocations: 227.8 kB / 0.9557 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.4804, allocations: 5.094 kB / 0.9557 GB, free: 4.473 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.488e-05/0.4804, allocations: 5.188 kB / 0.9557 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.4804, allocations: 4.469 kB / 0.9557 GB, free: 4.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.481, allocations: 198.2 kB / 0.9559 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007596/0.4818, allocations: 0.9376 MB / 0.9568 GB, free: 3.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006323/0.4824, allocations: 249 kB / 0.9571 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002831/0.4827, allocations: 110.3 kB / 0.9572 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.4827, allocations: 1.781 kB / 0.9572 GB, free: 3.285 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.099e-05/0.4828, allocations: 32.34 kB / 0.9572 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 1.192e-06/0.4828, allocations: 0 / 0.9572 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.0009745/0.4837, allocations: 345.8 kB / 0.9575 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.991e-05/0.4838, allocations: 78.48 kB / 0.9576 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.484, allocations: 267.3 kB / 0.9579 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.484, allocations: 27.55 kB / 0.9579 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.484, allocations: 160.4 kB / 0.958 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.4841, allocations: 57.53 kB / 0.9581 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.663e-05/0.4841, allocations: 40.33 kB / 0.9581 GB, free: 2.52 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.293e-05/0.4842, allocations: 337.3 kB / 0.9584 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.4845, allocations: 93.31 kB / 0.9585 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002897/0.4848, allocations: 139.6 kB / 0.9587 GB, free: 2.043 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005645/0.4853, allocations: 243.2 kB / 0.9589 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.4853, allocations: 1.188 kB / 0.9589 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007025/0.486, allocations: 300.1 kB / 0.9592 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.4861, allocations: 5.781 kB / 0.9592 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.4861, allocations: 1.344 kB / 0.9592 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4861, allocations: 2.5 kB / 0.9592 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.4863, allocations: 66.69 kB / 0.9593 GB, free: 1.703 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4864, allocations: 7.5 kB / 0.9593 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001987/0.4866, allocations: 32.16 kB / 0.9593 GB, free: 1.684 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.571e-05/0.4866, allocations: 14.97 kB / 0.9593 GB, free: 1.676 MB / 0.7169 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 7.626e-05/0.4867, allocations: 138.3 kB / 0.9594 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.752e-05/0.4868, allocations: 25.66 kB / 0.9595 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006842/0.4875, allocations: 294.5 kB / 0.9598 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.4875, allocations: 3.312 kB / 0.9598 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.4875, allocations: 0 / 0.9598 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4875, allocations: 9.188 kB / 0.9598 GB, free: 1.352 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.4877, allocations: 289.3 kB / 0.96 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4878, allocations: 1 kB / 0.96 GB, free: 1.07 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002311/0.488, allocations: 58.11 kB / 0.9601 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.488, allocations: 1.688 kB / 0.9601 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.488, allocations: 2.188 kB / 0.9601 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.488, allocations: 5.047 kB / 0.9601 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.488, allocations: 1.125 kB / 0.9601 GB, free: 1.047 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006741/0.4887, allocations: 443.7 kB / 0.9605 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.595e-05/0.4887, allocations: 108.3 kB / 0.9606 GB, free: 0.6094 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.112e-05/0.4888, allocations: 5.406 kB / 0.9606 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/0.489, allocations: 25.59 kB / 0.9607 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.481e-05/0.4891, allocations: 23.44 kB / 0.9607 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.009e-05/0.4891, allocations: 4.688 kB / 0.9607 GB, free: 0.5781 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.000118/0.4892, allocations: 190.4 kB / 0.9609 GB, free: 460 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4892, allocations: 3.938 kB / 0.9609 GB, free: 456 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003077/0.4895, allocations: 63.03 kB / 0.9609 GB, free: 440 kB / 0.7169 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.0009472/0.4905, allocations: 0.9907 MB / 0.9619 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0006778/0.4912, allocations: 237.5 kB / 0.9621 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4912, allocations: 0 / 0.9621 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003114/0.4915, allocations: 119.4 kB / 0.9622 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004999/0.492, allocations: 78.39 kB / 0.9623 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003464/0.4955, allocations: 2.703 MB / 0.965 GB, free: 13.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002667/0.4958, allocations: 0.7505 MB / 0.9657 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001272/0.4959, allocations: 32.02 kB / 0.9657 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001116/0.496, allocations: 86.25 kB / 0.9658 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.496, allocations: 0 / 0.9658 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.04/5.536, allocations: 6.471 MB / 0.9721 GB, free: 9.305 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/17.75, allocations: 9.094 kB / 0.9721 GB, free: 9.297 MB / 0.7325 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