Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.HANaturalCylinder,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",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.005115/0.005115, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001384/0.001384, allocations: 193.6 kB / 16.67 MB, free: 5.93 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 / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.357/2.357, allocations: 437.1 MB / 0.7106 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 63.84 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6091, allocations: 151.6 MB / 1.166 GB, free: 3.742 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005888/0.615, allocations: 4.587 MB / 1.171 GB, free: 15.13 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.616, allocations: 0.803 MB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.6161, allocations: 4 kB / 1.171 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.6163, allocations: 39.75 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.6164, allocations: 31.72 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004551/0.6168, allocations: 167.4 kB / 1.172 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001877/0.617, allocations: 171.4 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 9.335e-05/0.6171, allocations: 29.09 kB / 1.172 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.6173, allocations: 83.69 kB / 1.172 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.6174, allocations: 71.69 kB / 1.172 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 2.623e-05/0.6174, allocations: 12 kB / 1.172 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.6178, allocations: 159.8 kB / 1.172 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 3.361e-05/0.6178, allocations: 31.91 kB / 1.172 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.739e-05/0.6179, allocations: 63.67 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.6182, allocations: 238.9 kB / 1.173 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.6182, allocations: 7.938 kB / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of FrontEnd: time 3.106e-06/0.6182, allocations: 0 / 1.173 GB, free: 13.23 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.975e-06/0.6182, allocations: 3.938 kB / 1.173 GB, free: 13.23 MB / 0.9044 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.0007839/0.619, allocations: 486.5 kB / 1.173 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.102e-05/0.6191, allocations: 12.62 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.808e-05/0.6191, allocations: 38.73 kB / 1.173 GB, free: 12.64 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.686e-05/0.6192, allocations: 16.89 kB / 1.173 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.6193, allocations: 186.3 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.38e-05/0.6193, allocations: 8.375 kB / 1.173 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.6193, allocations: 8.375 kB / 1.173 GB, free: 12.39 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.6197, allocations: 125.4 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.6197, allocations: 4 kB / 1.173 GB, free: 12.26 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.6197, allocations: 8 kB / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.6197, allocations: 0 / 1.173 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003912/0.6201, allocations: 139.9 kB / 1.174 GB, free: 12.12 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008618/0.621, allocations: 464.5 kB / 1.174 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.6213, allocations: 126.4 kB / 1.174 GB, free: 11.48 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.6215, allocations: 76.81 kB / 1.174 GB, free: 11.4 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001265/0.6227, allocations: 0.9605 MB / 1.175 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.678e-05/0.6228, allocations: 34.56 kB / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.6228, allocations: 0 / 1.175 GB, free: 10.26 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12): time 0.0006228/0.6234, allocations: 217.4 kB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.6235, allocations: 55.34 kB / 1.175 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.6236, allocations: 159.2 kB / 1.176 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.6236, allocations: 33.7 kB / 1.176 GB, free: 9.773 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.672e-05/0.6237, allocations: 104.5 kB / 1.176 GB, free: 9.668 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.36e-05/0.6237, allocations: 47.62 kB / 1.176 GB, free: 9.621 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.376e-05/0.6238, allocations: 49.7 kB / 1.176 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.6239, allocations: 330.8 kB / 1.176 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002158/0.6242, allocations: 71.94 kB / 1.176 GB, free: 9.164 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002342/0.6244, allocations: 107.4 kB / 1.176 GB, free: 9.047 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004047/0.6248, allocations: 172.5 kB / 1.176 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.6248, allocations: 0 / 1.176 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0005444/0.6254, allocations: 248 kB / 1.177 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.6254, allocations: 4 kB / 1.177 GB, free: 8.617 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.6254, allocations: 7.938 kB / 1.177 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.6254, allocations: 0 / 1.177 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002491/0.6257, allocations: 51.91 kB / 1.177 GB, free: 8.559 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.6257, allocations: 4.094 kB / 1.177 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.6259, allocations: 39.75 kB / 1.177 GB, free: 8.516 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.6259, allocations: 8 kB / 1.177 GB, free: 8.508 MB / 0.9044 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 9.025e-05/0.626, allocations: 121.8 kB / 1.177 GB, free: 8.379 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.626, allocations: 15.91 kB / 1.177 GB, free: 8.363 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000461/0.6265, allocations: 182.8 kB / 1.177 GB, free: 8.18 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.6265, allocations: 4 kB / 1.177 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.6265, allocations: 0 / 1.177 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.6265, allocations: 0 / 1.177 GB, free: 8.176 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.6267, allocations: 221.4 kB / 1.177 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.6267, allocations: 0 / 1.177 GB, free: 7.91 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001448/0.6269, allocations: 27.97 kB / 1.177 GB, free: 7.883 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.522e-06/0.6269, allocations: 4 kB / 1.177 GB, free: 7.879 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.6269, allocations: 7.938 kB / 1.177 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6269, allocations: 4 kB / 1.177 GB, free: 7.867 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6269, allocations: 3.984 kB / 1.177 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004417/0.6274, allocations: 259.9 kB / 1.178 GB, free: 7.594 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.7e-05/0.6274, allocations: 97 kB / 1.178 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.6275, allocations: 3.938 kB / 1.178 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.6276, allocations: 27.86 kB / 1.178 GB, free: 7.449 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.6277, allocations: 7.984 kB / 1.178 GB, free: 7.441 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.6277, allocations: 8 kB / 1.178 GB, free: 7.434 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 8.209e-05/0.6278, allocations: 120.9 kB / 1.178 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6278, allocations: 0 / 1.178 GB, free: 7.316 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002865/0.6281, allocations: 63.86 kB / 1.178 GB, free: 7.254 MB / 0.9044 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.0008641/0.6289, allocations: 0.8487 MB / 1.179 GB, free: 6.375 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0004752/0.6294, allocations: 172.1 kB / 1.179 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.6294, allocations: 0 / 1.179 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.6296, allocations: 68.14 kB / 1.179 GB, free: 6.141 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003085/0.6299, allocations: 27.11 kB / 1.179 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.6323, allocations: 1.952 MB / 1.181 GB, free: 4.074 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.6326, allocations: 0.7045 MB / 1.182 GB, free: 3.344 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 8.593e-05/0.6327, allocations: 18.7 kB / 1.182 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.949e-05/0.6328, allocations: 35.42 kB / 1.182 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6328, allocations: 0 / 1.182 GB, free: 3.289 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4823/1.115, allocations: 4.291 MB / 1.186 GB, free: 15.15 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.516/10.63, allocations: 13.59 kB / 1.186 GB, free: 15.14 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches