Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.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.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower",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.001473/0.001473, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00181/0.001811, allocations: 191 kB / 16.25 MB, free: 6.629 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.318/1.318, allocations: 222.9 MB / 239.9 MB, free: 4.539 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.304/2.304, allocations: 390.2 MB / 0.6644 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.89 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5514/0.5527, allocations: 140.4 MB / 0.9493 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower): time 0.002759/0.5555, allocations: 1.649 MB / 0.9509 GB, free: 7.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001443/0.5557, allocations: 50.69 kB / 0.9509 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.575e-05/0.5557, allocations: 1.375 kB / 0.9509 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.825e-05/0.5558, allocations: 3.984 kB / 0.9509 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.904e-05/0.5559, allocations: 9.25 kB / 0.9509 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 8.287e-05/0.556, allocations: 18.73 kB / 0.9509 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.882e-05/0.5561, allocations: 76.58 kB / 0.951 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.5562, allocations: 23.03 kB / 0.951 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.455e-05/0.5562, allocations: 26.92 kB / 0.9511 GB, free: 7.676 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.262e-05/0.5563, allocations: 32.09 kB / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.5563, allocations: 6.875 kB / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.5563, allocations: 5.5 kB / 0.9511 GB, free: 7.652 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.5564, allocations: 13.36 kB / 0.9511 GB, free: 7.641 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.182e-05/0.5564, allocations: 30.67 kB / 0.9512 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 9.102e-05/0.5565, allocations: 65.06 kB / 0.9512 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.5565, allocations: 4 kB / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5565, allocations: 0 / 0.9512 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.5565, allocations: 0 / 0.9512 GB, free: 7.566 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005193/0.557, allocations: 402 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.5571, allocations: 9.062 kB / 0.9516 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.101e-05/0.5571, allocations: 32.06 kB / 0.9516 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.697e-05/0.5572, allocations: 7.656 kB / 0.9516 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.085e-05/0.5572, allocations: 176.2 kB / 0.9518 GB, free: 6.914 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.5573, allocations: 5.875 kB / 0.9518 GB, free: 6.91 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.19e-05/0.5573, allocations: 7.5 kB / 0.9518 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002926/0.5576, allocations: 94.7 kB / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.462e-06/0.5576, allocations: 1.656 kB / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.5576, allocations: 0 / 0.9519 GB, free: 6.84 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5576, allocations: 4.875 kB / 0.9519 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003787/0.558, allocations: 103.9 kB / 0.952 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003345/0.5583, allocations: 306.2 kB / 0.9523 GB, free: 6.465 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003019/0.5587, allocations: 84.14 kB / 0.9524 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002046/0.5589, allocations: 69.66 kB / 0.9525 GB, free: 6.375 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.5589, allocations: 9.844 kB / 0.9525 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.5589, allocations: 30.56 kB / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.5589, allocations: 0 / 0.9525 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6): time 0.0006642/0.5596, allocations: 196.2 kB / 0.9527 GB, free: 6.219 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/0.5596, allocations: 56.55 kB / 0.9527 GB, free: 6.152 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.927e-05/0.5597, allocations: 116.6 kB / 0.9529 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.025e-05/0.5597, allocations: 25.7 kB / 0.9529 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.109e-05/0.5598, allocations: 87.17 kB / 0.953 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.543e-05/0.5598, allocations: 30.69 kB / 0.953 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.5598, allocations: 21.75 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.436e-05/0.5599, allocations: 332.1 kB / 0.9533 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.5601, allocations: 42.98 kB / 0.9534 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/0.5603, allocations: 55.84 kB / 0.9534 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.5606, allocations: 108.8 kB / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.704e-06/0.5606, allocations: 0 / 0.9535 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004186/0.5611, allocations: 136.4 kB / 0.9537 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5611, allocations: 13.42 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.5611, allocations: 0 / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.5611, allocations: 1.188 kB / 0.9537 GB, free: 5.359 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.5613, allocations: 24.59 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.5613, allocations: 4.938 kB / 0.9537 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001046/0.5614, allocations: 14.7 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.925e-06/0.5614, allocations: 5.25 kB / 0.9537 GB, free: 5.34 MB / 0.7169 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 5.531e-05/0.5615, allocations: 120.4 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.5615, allocations: 2.812 kB / 0.9538 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.423e-05/0.5615, allocations: 13.59 kB / 0.9538 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.5615, allocations: 1.188 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.5615, allocations: 0 / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.5615, allocations: 1.156 kB / 0.9539 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.5617, allocations: 190.1 kB / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.5617, allocations: 0 / 0.954 GB, free: 4.98 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.5618, allocations: 30.19 kB / 0.9541 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5618, allocations: 4 kB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.5619, allocations: 1.469 kB / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5619, allocations: 256 / 0.9541 GB, free: 4.965 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.5619, allocations: 4 kB / 0.9541 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004214/0.5623, allocations: 244.4 kB / 0.9543 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.087e-05/0.5623, allocations: 82.45 kB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.5623, allocations: 1.5 kB / 0.9544 GB, free: 4.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.5625, allocations: 18.62 kB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.5625, allocations: 5.875 kB / 0.9544 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.69e-06/0.5626, allocations: 5.547 kB / 0.9544 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.572e-05/0.5626, allocations: 96.94 kB / 0.9545 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5626, allocations: 4 kB / 0.9545 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002263/0.5628, allocations: 14.94 kB / 0.9545 GB, free: 4.562 MB / 0.7169 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.0006396/0.5635, allocations: 0.7809 MB / 0.9553 GB, free: 3.836 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000435/0.5639, allocations: 110.8 kB / 0.9554 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5639, allocations: 1.562 kB / 0.9554 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002057/0.5641, allocations: 65.12 kB / 0.9555 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003471/0.5645, allocations: 7.953 kB / 0.9555 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005072/0.565, allocations: 219.9 kB / 0.9557 GB, free: 3.543 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001152/0.5651, allocations: 0.692 MB / 0.9563 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.431e-05/0.5652, allocations: 1.281 kB / 0.9563 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.152e-05/0.5652, allocations: 19 kB / 0.9564 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/0.5653, allocations: 0 / 0.9564 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1276/0.6928, allocations: 1.891 MB / 0.9582 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002065/0.6931, allocations: 229.7 kB / 0.9584 GB, free: 1.668 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.984/2.677, allocations: 0 / 0.9584 GB, free: 1.668 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_InputPower.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.InputPower.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches