Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002104/0.002104, allocations: 219.3 kB / 23.03 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.434/1.434, allocations: 230.6 MB / 256.8 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.731/2.731, allocations: 476.8 MB / 0.7715 GB, free: 3.902 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001972/0.001972, allocations: 65.41 kB / 1.118 GB, free: 39.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3405/0.3425, allocations: 170 MB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003071/0.3455, allocations: 1.613 MB / 1.286 GB, free: 9 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00168/0.3472, allocations: 0.9249 MB / 1.287 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.058e-05/0.3473, allocations: 3.938 kB / 1.287 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.889e-05/0.3473, allocations: 7.875 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002247/0.3476, allocations: 23.78 kB / 1.287 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.348, allocations: 159.5 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001589/0.3481, allocations: 75.72 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.834e-05/0.3482, allocations: 11.98 kB / 1.287 GB, free: 7.793 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001521/0.3484, allocations: 51.78 kB / 1.287 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.63e-05/0.3485, allocations: 35.84 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.3485, allocations: 4 kB / 1.287 GB, free: 7.703 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004373/0.3489, allocations: 287.6 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.646e-05/0.3489, allocations: 7.938 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.132e-05/0.349, allocations: 27.86 kB / 1.287 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002829/0.3493, allocations: 166.9 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3493, allocations: 0 / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3493, allocations: 4 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.111e-06/0.3493, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 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.0006011/0.3499, allocations: 341.7 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.3499, allocations: 8.031 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.364e-05/0.3499, allocations: 4.188 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.114e-05/0.35, allocations: 30.75 kB / 1.288 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002695/0.3502, allocations: 28.86 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002809/0.3505, allocations: 148.4 kB / 1.288 GB, free: 6.613 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.3505, allocations: 4.375 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.3506, allocations: 4.375 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.3507, allocations: 69.59 kB / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3508, allocations: 0 / 1.288 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3508, allocations: 4 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.3508, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.3509, allocations: 47.94 kB / 1.288 GB, free: 6.48 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.3514, allocations: 263.9 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001432/0.3515, allocations: 50.5 kB / 1.288 GB, free: 6.121 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.897e-05/0.3516, allocations: 28.97 kB / 1.288 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.3516, allocations: 4 kB / 1.288 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.808e-05/0.3516, allocations: 30.56 kB / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.3516, allocations: 0 / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5): time 0.0003743/0.352, allocations: 113.5 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.3521, allocations: 51.41 kB / 1.289 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.3522, allocations: 135.9 kB / 1.289 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.8e-05/0.3522, allocations: 25.7 kB / 1.289 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.332e-05/0.3523, allocations: 104.1 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.059e-05/0.3523, allocations: 15.84 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.898e-05/0.3524, allocations: 25.64 kB / 1.289 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.3525, allocations: 322.8 kB / 1.289 GB, free: 5.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.839e-05/0.3526, allocations: 23.98 kB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.66e-05/0.3526, allocations: 24.34 kB / 1.289 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001439/0.3528, allocations: 56.84 kB / 1.289 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.939e-06/0.3528, allocations: 3.984 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000211/0.353, allocations: 89.56 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.353, allocations: 4 kB / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.353, allocations: 0 / 1.289 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.353, allocations: 4 kB / 1.289 GB, free: 5.004 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.3532, allocations: 15.98 kB / 1.289 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/0.3532, allocations: 3.984 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.988e-05/0.3532, allocations: 7.984 kB / 1.289 GB, free: 4.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.3532, allocations: 4 kB / 1.289 GB, free: 4.973 MB / 0.9825 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 8.607e-05/0.3533, allocations: 113.8 kB / 1.29 GB, free: 4.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.3534, allocations: 7.953 kB / 1.29 GB, free: 4.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002534/0.3536, allocations: 106 kB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-06/0.3536, allocations: 4 kB / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3536, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.3536, allocations: 0 / 1.29 GB, free: 4.727 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.3538, allocations: 156.6 kB / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3538, allocations: 0 / 1.29 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.439e-05/0.3539, allocations: 15.98 kB / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.3539, allocations: 0 / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.206e-06/0.3539, allocations: 0 / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3539, allocations: 0 / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.3539, allocations: 0 / 1.29 GB, free: 4.516 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3542, allocations: 203.5 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.445e-05/0.3542, allocations: 7.953 kB / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/0.3542, allocations: 0 / 1.29 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.686e-05/0.3543, allocations: 7.984 kB / 1.29 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.809e-05/0.3543, allocations: 7.938 kB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-06/0.3543, allocations: 4 kB / 1.29 GB, free: 4.273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.068e-05/0.3544, allocations: 105.7 kB / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3544, allocations: 0 / 1.29 GB, free: 4.172 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002452/0.3547, allocations: 23.94 kB / 1.29 GB, free: 4.148 MB / 0.9825 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.0006537/0.3553, allocations: 0.7397 MB / 1.291 GB, free: 3.383 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.3555, allocations: 59.95 kB / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3555, allocations: 0 / 1.291 GB, free: 3.324 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/0.3556, allocations: 31.92 kB / 1.291 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002978/0.3559, allocations: 15.92 kB / 1.291 GB, free: 3.277 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.3576, allocations: 1.467 MB / 1.292 GB, free: 1.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.019e-05/0.3577, allocations: 79.08 kB / 1.292 GB, free: 1.633 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.005e-05/0.3578, allocations: 11.98 kB / 1.293 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.142e-05/0.3578, allocations: 27.42 kB / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3578, allocations: 0 / 1.293 GB, free: 1.594 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02398/0.3818, allocations: 2.59 MB / 1.295 GB, free: 15.17 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.92/11.3, allocations: 12.86 kB / 1.295 GB, free: 15.16 MB / 0.9981 GB " [Timeout remaining time 289] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 17.845104687963612]