Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001169/0.001169, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.00136/0.00136, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8789/0.8789, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.635/1.635, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.515e-05/1.677e-05, allocations: 2.281 kB / 0.9505 GB, free: 3.496 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004222/0.004239, allocations: 4.434 MB / 0.9549 GB, free: 15.03 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.000621/0.00486, allocations: 0.7554 MB / 0.9556 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.435e-05/0.004904, allocations: 0 / 0.9556 GB, free: 14.27 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.005042, allocations: 19.84 kB / 0.9556 GB, free: 14.25 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 4.193e-05/0.005084, allocations: 43.52 kB / 0.9557 GB, free: 14.21 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003941/0.005478, allocations: 179.3 kB / 0.9558 GB, free: 14.04 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.000137/0.005615, allocations: 183.3 kB / 0.956 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 7.215e-05/0.005688, allocations: 13.3 kB / 0.956 GB, free: 13.84 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.005833, allocations: 111.7 kB / 0.9561 GB, free: 13.73 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 6.423e-05/0.005897, allocations: 63.84 kB / 0.9562 GB, free: 13.67 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.836e-05/0.005915, allocations: 12 kB / 0.9562 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003254/0.006241, allocations: 135.8 kB / 0.9563 GB, free: 13.53 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 2.195e-05/0.006263, allocations: 39.89 kB / 0.9564 GB, free: 13.49 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 3.752e-05/0.0063, allocations: 43.91 kB / 0.9564 GB, free: 13.45 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0002484/0.006549, allocations: 267.2 kB / 0.9567 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.00655, allocations: 0 / 0.9567 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.62e-07/0.006551, allocations: 0 / 0.9567 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.006556, allocations: 0 / 0.9567 GB, free: 13.18 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005375/0.007093, allocations: 405.4 kB / 0.9571 GB, free: 12.76 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.00713, allocations: 12.03 kB / 0.9571 GB, free: 12.75 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.07e-05/0.007161, allocations: 34.75 kB / 0.9571 GB, free: 12.7 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.007192, allocations: 20.84 kB / 0.9571 GB, free: 12.68 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.072e-05/0.007273, allocations: 129.5 kB / 0.9572 GB, free: 12.53 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.007286, allocations: 8.375 kB / 0.9573 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.0073, allocations: 8.375 kB / 0.9573 GB, free: 12.52 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.0075, allocations: 114.2 kB / 0.9574 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.007507, allocations: 192 / 0.9574 GB, free: 12.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.007518, allocations: 11.94 kB / 0.9574 GB, free: 12.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.007524, allocations: 3.984 kB / 0.9574 GB, free: 12.38 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.007746, allocations: 139.9 kB / 0.9575 GB, free: 12.25 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005725/0.008319, allocations: 411.6 kB / 0.9579 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001693/0.008488, allocations: 114.5 kB / 0.958 GB, free: 11.68 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.779e-05/0.008586, allocations: 64.8 kB / 0.9581 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005952/0.009181, allocations: 480.4 kB / 0.9585 GB, free: 11.12 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.885e-05/0.0092, allocations: 34.5 kB / 0.9586 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=12): time 8.81e-07/0.009201, allocations: 0 / 0.9586 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of matching and sorting (n=12): time 0.0003745/0.009575, allocations: 209.4 kB / 0.9588 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.899e-05/0.009604, allocations: 59.34 kB / 0.9588 GB, free: 10.8 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.009707, allocations: 167.2 kB / 0.959 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.009722, allocations: 33.7 kB / 0.959 GB, free: 10.59 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.811e-05/0.00977, allocations: 108.5 kB / 0.9591 GB, free: 10.48 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.009789, allocations: 39.64 kB / 0.9592 GB, free: 10.44 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.957e-05/0.009838, allocations: 45.7 kB / 0.9592 GB, free: 10.39 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.00998, allocations: 322.8 kB / 0.9595 GB, free: 10.06 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/0.0101, allocations: 75.94 kB / 0.9596 GB, free: 9.988 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001354/0.01023, allocations: 115.2 kB / 0.9597 GB, free: 9.863 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002262/0.01046, allocations: 169.4 kB / 0.9599 GB, free: 9.688 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.696e-06/0.01046, allocations: 4 kB / 0.9599 GB, free: 9.684 MB / 0.9167 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000308/0.01077, allocations: 248.7 kB / 0.9601 GB, free: 9.438 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.01078, allocations: 7.938 kB / 0.9601 GB, free: 9.43 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01079, allocations: 4 kB / 0.9601 GB, free: 9.426 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.0108, allocations: 4 kB / 0.9601 GB, free: 9.422 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.01094, allocations: 59.89 kB / 0.9602 GB, free: 9.363 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.01095, allocations: 7.938 kB / 0.9602 GB, free: 9.355 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.994e-05/0.01102, allocations: 27.81 kB / 0.9602 GB, free: 9.328 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.01104, allocations: 16.08 kB / 0.9602 GB, free: 9.312 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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 6.252e-05/0.0111, allocations: 125.8 kB / 0.9603 GB, free: 9.18 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.01112, allocations: 15.84 kB / 0.9604 GB, free: 9.164 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002532/0.01137, allocations: 171 kB / 0.9605 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.01137, allocations: 0 / 0.9605 GB, free: 8.988 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.01138, allocations: 3.938 kB / 0.9605 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.945e-06/0.01138, allocations: 0 / 0.9605 GB, free: 8.984 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.01151, allocations: 184.6 kB / 0.9607 GB, free: 8.762 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.01151, allocations: 3.984 kB / 0.9607 GB, free: 8.758 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.584e-05/0.01158, allocations: 27.98 kB / 0.9607 GB, free: 8.73 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.01158, allocations: 3.938 kB / 0.9607 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.01159, allocations: 0 / 0.9607 GB, free: 8.727 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.225e-06/0.01159, allocations: 4 kB / 0.9607 GB, free: 8.723 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.01159, allocations: 7.875 kB / 0.9607 GB, free: 8.715 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.01182, allocations: 255.9 kB / 0.961 GB, free: 8.449 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.343e-05/0.01186, allocations: 27.89 kB / 0.961 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.662e-05/0.01187, allocations: 0 / 0.961 GB, free: 8.422 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.103e-05/0.01193, allocations: 11.98 kB / 0.961 GB, free: 8.41 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.608e-05/0.01197, allocations: 15.92 kB / 0.961 GB, free: 8.395 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.618e-06/0.01198, allocations: 3.984 kB / 0.961 GB, free: 8.391 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.888e-05/0.01202, allocations: 112 kB / 0.9612 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.01202, allocations: 0 / 0.9612 GB, free: 8.281 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0002193/0.01224, allocations: 67.8 kB / 0.9612 GB, free: 8.215 MB / 0.9167 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 (12): * Single equations (assignments): 12 * 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.0005244/0.01277, allocations: 0.8488 MB / 0.962 GB, free: 7.34 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002768/0.01304, allocations: 159.8 kB / 0.9622 GB, free: 7.184 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.01305, allocations: 4 kB / 0.9622 GB, free: 7.18 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 9.421e-05/0.01314, allocations: 63.89 kB / 0.9623 GB, free: 7.117 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002363/0.01338, allocations: 28.61 kB / 0.9623 GB, free: 7.09 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.01506, allocations: 1.959 MB / 0.9642 GB, free: 5.027 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.551e-05/0.01512, allocations: 89.81 kB / 0.9643 GB, free: 4.922 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 5.85e-05/0.01518, allocations: 13.16 kB / 0.9643 GB, free: 4.91 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.247e-05/0.01524, allocations: 36.59 kB / 0.9643 GB, free: 4.871 MB / 0.9167 GB Notification: Performance of SimCode: time 4.31e-07/0.01524, allocations: 3.938 kB / 0.9643 GB, free: 4.867 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.03182, allocations: 5.098 MB / 0.9693 GB, free: 15.94 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.818/6.85, allocations: 0 / 0.9693 GB, free: 15.94 MB / 0.9323 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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: 10.755414999090135]