Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001347/0.001347, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.00145/0.00145, allocations: 214.6 kB / 23.03 MB, free: 4.922 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.508/1.508, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_12_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.001966/0.001966, allocations: 62.31 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3912/0.3931, allocations: 176.1 MB / 1.327 GB, free: 1.453 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003588/0.3967, allocations: 1.614 MB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001801/0.3985, allocations: 0.9232 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.3986, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.205e-05/0.3987, allocations: 11.86 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002536/0.3989, allocations: 27.78 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005068/0.3994, allocations: 159.8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002015/0.3996, allocations: 79.66 kB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3997, allocations: 15.92 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001852/0.3999, allocations: 47.78 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000107/0.4, allocations: 35.78 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.4001, allocations: 4 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000482/0.4005, allocations: 283.7 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.4006, allocations: 15.91 kB / 1.33 GB, free: 14.24 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.4006, allocations: 35.86 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003144/0.4009, allocations: 155.5 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.4009, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4009, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.245e-05/0.4009, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 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.0006231/0.4016, allocations: 345.6 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.4016, allocations: 8.031 kB / 1.33 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.031e-05/0.4016, allocations: 8.188 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.4017, allocations: 34.75 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002917/0.402, allocations: 32.86 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.4023, allocations: 147.3 kB / 1.33 GB, free: 13.43 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4023, allocations: 4.375 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/0.4023, allocations: 384 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.4025, allocations: 61.61 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.4025, allocations: 0 / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.4025, allocations: 4 kB / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.4025, allocations: 0 / 1.331 GB, free: 13.35 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.4027, allocations: 47.95 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.4031, allocations: 259.9 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001606/0.4033, allocations: 54.48 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.182e-05/0.4034, allocations: 28.97 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.4034, allocations: 4 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.327e-05/0.4034, allocations: 34.56 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of pre-optimization done (n=5): time 1.373e-06/0.4034, allocations: 4 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=5): time 0.0003937/0.4038, allocations: 109.5 kB / 1.331 GB, free: 12.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.187e-05/0.4039, allocations: 51.41 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.404, allocations: 135.7 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.055e-05/0.404, allocations: 25.7 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.4041, allocations: 100.1 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.35e-05/0.4041, allocations: 19.84 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.158e-05/0.4042, allocations: 13.72 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.4043, allocations: 330.8 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.114e-05/0.4044, allocations: 23.98 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.788e-05/0.4045, allocations: 19.98 kB / 1.332 GB, free: 12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000148/0.4046, allocations: 52.83 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4046, allocations: 0 / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002328/0.4049, allocations: 93.92 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4049, allocations: 7.938 kB / 1.332 GB, free: 11.84 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.4049, allocations: 7.938 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.4049, allocations: 4 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.405, allocations: 20.05 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.405, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.292e-05/0.4051, allocations: 4 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.4051, allocations: 7.984 kB / 1.332 GB, free: 11.79 MB / 1.029 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 9.004e-05/0.4052, allocations: 114.3 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.4052, allocations: 11.91 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002763/0.4055, allocations: 106 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4055, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.4055, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4055, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001918/0.4057, allocations: 156.7 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.4057, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.807e-05/0.4058, allocations: 15.98 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.4058, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.4058, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.4058, allocations: 0 / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.4058, allocations: 4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002735/0.4061, allocations: 195.3 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.643e-05/0.4061, allocations: 7.953 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.4061, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.694e-05/0.4062, allocations: 4 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.777e-05/0.4063, allocations: 3.984 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.4063, allocations: 4 kB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.418e-05/0.4064, allocations: 104.5 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4064, allocations: 0 / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002525/0.4066, allocations: 27.94 kB / 1.333 GB, free: 10.97 MB / 1.029 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.0006836/0.4073, allocations: 0.732 MB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.4075, allocations: 59.89 kB / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.4075, allocations: 0 / 1.333 GB, free: 10.15 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.374e-05/0.4076, allocations: 27.98 kB / 1.333 GB, free: 10.12 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003076/0.4079, allocations: 15.94 kB / 1.333 GB, free: 10.11 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001835/0.4098, allocations: 1.47 MB / 1.335 GB, free: 8.562 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.531e-05/0.4098, allocations: 75.33 kB / 1.335 GB, free: 8.469 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.324e-05/0.4099, allocations: 15.97 kB / 1.335 GB, free: 8.453 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.41, allocations: 23.44 kB / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of SimCode: time 4.4e-07/0.41, allocations: 0 / 1.335 GB, free: 8.43 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.4349, allocations: 2.603 MB / 1.338 GB, free: 5.988 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.58, allocations: 10.56 kB / 1.338 GB, free: 5.984 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside_fmu --startTime=0 --stopTime=15 --stepSize=0.006 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 18.39259493094869]