Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008384/0.0008384, 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.001249/0.001249, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8869/0.8869, allocations: 177.1 MB / 202.8 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.704/1.704, allocations: 377.9 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.HANaturalCylinder,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.172e-06/1.172e-06, allocations: 0 / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.366e-05, allocations: 2.281 kB / 0.981 GB, free: 2.535 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.003917/0.00393, allocations: 4.422 MB / 0.9853 GB, free: 14.09 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.0006145/0.004545, allocations: 0.7592 MB / 0.9861 GB, free: 13.33 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.697e-05/0.004592, allocations: 11.94 kB / 0.9861 GB, free: 13.32 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001415/0.004733, allocations: 23.78 kB / 0.9861 GB, free: 13.3 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 3.775e-05/0.004771, allocations: 35.7 kB / 0.9861 GB, free: 13.26 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003952/0.005166, allocations: 175.2 kB / 0.9863 GB, free: 13.09 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.0053, allocations: 183.3 kB / 0.9865 GB, free: 12.91 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 8.31e-05/0.005383, allocations: 21.22 kB / 0.9865 GB, free: 12.89 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001531/0.005536, allocations: 107.8 kB / 0.9866 GB, free: 12.79 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 6.611e-05/0.005602, allocations: 63.8 kB / 0.9867 GB, free: 12.72 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.005621, allocations: 12 kB / 0.9867 GB, free: 12.71 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00019/0.005811, allocations: 143.7 kB / 0.9868 GB, free: 12.57 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 2.363e-05/0.005834, allocations: 31.89 kB / 0.9868 GB, free: 12.54 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.695e-05/0.005871, allocations: 47.91 kB / 0.9869 GB, free: 12.49 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002533/0.006124, allocations: 259.2 kB / 0.9871 GB, free: 12.24 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.883e-06/0.006126, allocations: 4 kB / 0.9871 GB, free: 12.23 MB / 0.948 GB Notification: Performance of FrontEnd: time 8.02e-07/0.006127, allocations: 4 kB / 0.9871 GB, free: 12.23 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.006131, allocations: 0 / 0.9871 GB, free: 12.23 MB / 0.948 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.0006256/0.006757, allocations: 408 kB / 0.9875 GB, free: 11.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.006793, allocations: 8.031 kB / 0.9875 GB, free: 11.8 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.12e-05/0.006824, allocations: 38.75 kB / 0.9876 GB, free: 11.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.133e-05/0.006856, allocations: 20.84 kB / 0.9876 GB, free: 11.73 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.142e-05/0.006937, allocations: 119.7 kB / 0.9877 GB, free: 11.59 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.006949, allocations: 12.31 kB / 0.9877 GB, free: 11.58 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.006964, allocations: 16.38 kB / 0.9877 GB, free: 11.56 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.007164, allocations: 121.1 kB / 0.9878 GB, free: 11.44 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.007172, allocations: 192 / 0.9878 GB, free: 11.44 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.007184, allocations: 11.88 kB / 0.9879 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.007188, allocations: 0 / 0.9879 GB, free: 11.43 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002265/0.007414, allocations: 151.8 kB / 0.988 GB, free: 11.28 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005695/0.007984, allocations: 411.7 kB / 0.9884 GB, free: 10.84 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001682/0.008152, allocations: 114.5 kB / 0.9885 GB, free: 10.71 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.823e-05/0.00825, allocations: 64.81 kB / 0.9886 GB, free: 10.65 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005917/0.008842, allocations: 476 kB / 0.989 GB, free: 10.16 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.008862, allocations: 38.56 kB / 0.9891 GB, free: 10.12 MB / 0.948 GB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.008863, allocations: 0 / 0.9891 GB, free: 10.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=12): time 0.0003696/0.009233, allocations: 205.4 kB / 0.9892 GB, free: 9.91 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.309e-05/0.009266, allocations: 63.33 kB / 0.9893 GB, free: 9.836 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.732e-05/0.009363, allocations: 165.1 kB / 0.9895 GB, free: 9.664 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.485e-05/0.009378, allocations: 29.7 kB / 0.9895 GB, free: 9.629 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.337e-05/0.009431, allocations: 104.5 kB / 0.9896 GB, free: 9.523 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.151e-05/0.009453, allocations: 51.58 kB / 0.9896 GB, free: 9.473 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.968e-05/0.009503, allocations: 45.7 kB / 0.9897 GB, free: 9.422 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/0.009576, allocations: 326.8 kB / 0.99 GB, free: 9.094 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001181/0.009694, allocations: 75.88 kB / 0.9901 GB, free: 9.02 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/0.009826, allocations: 107.4 kB / 0.9902 GB, free: 8.902 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002239/0.01005, allocations: 174.1 kB / 0.9903 GB, free: 8.723 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01005, allocations: 0 / 0.9903 GB, free: 8.723 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003085/0.01036, allocations: 241.3 kB / 0.9906 GB, free: 8.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.01037, allocations: 8.094 kB / 0.9906 GB, free: 8.473 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01038, allocations: 0 / 0.9906 GB, free: 8.473 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.01039, allocations: 4 kB / 0.9906 GB, free: 8.469 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001348/0.01052, allocations: 59.89 kB / 0.9906 GB, free: 8.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.01053, allocations: 7.938 kB / 0.9906 GB, free: 8.402 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.805e-05/0.0106, allocations: 23.88 kB / 0.9907 GB, free: 8.379 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.01061, allocations: 8 kB / 0.9907 GB, free: 8.371 MB / 0.948 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.248e-05/0.01068, allocations: 121.8 kB / 0.9908 GB, free: 8.242 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.939e-05/0.0107, allocations: 19.91 kB / 0.9908 GB, free: 8.223 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.01095, allocations: 179.3 kB / 0.991 GB, free: 8.031 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.01095, allocations: 4 kB / 0.991 GB, free: 8.027 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.01096, allocations: 3.938 kB / 0.991 GB, free: 8.023 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01096, allocations: 7.922 kB / 0.991 GB, free: 8.016 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001302/0.01109, allocations: 180.6 kB / 0.9912 GB, free: 7.797 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.01109, allocations: 0 / 0.9912 GB, free: 7.797 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.01116, allocations: 35.97 kB / 0.9912 GB, free: 7.762 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.01116, allocations: 0 / 0.9912 GB, free: 7.762 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.01118, allocations: 4 kB / 0.9912 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.01118, allocations: 0 / 0.9912 GB, free: 7.758 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.01118, allocations: 3.938 kB / 0.9912 GB, free: 7.754 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002319/0.01141, allocations: 263.2 kB / 0.9915 GB, free: 7.48 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 2.888e-05/0.01144, allocations: 19.94 kB / 0.9915 GB, free: 7.461 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.01145, allocations: 4 kB / 0.9915 GB, free: 7.457 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.359e-05/0.01152, allocations: 19.97 kB / 0.9915 GB, free: 7.438 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.412e-05/0.01155, allocations: 11.92 kB / 0.9915 GB, free: 7.426 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.01155, allocations: 4 kB / 0.9915 GB, free: 7.422 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.996e-05/0.0116, allocations: 117.6 kB / 0.9916 GB, free: 7.309 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.0116, allocations: 0 / 0.9916 GB, free: 7.309 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002126/0.01182, allocations: 67.8 kB / 0.9917 GB, free: 7.242 MB / 0.948 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.0005148/0.01233, allocations: 0.8479 MB / 0.9925 GB, free: 6.367 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002594/0.01259, allocations: 155.8 kB / 0.9927 GB, free: 6.215 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.01259, allocations: 0 / 0.9927 GB, free: 6.215 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 9.335e-05/0.01269, allocations: 67.88 kB / 0.9927 GB, free: 6.148 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002236/0.01291, allocations: 24.44 kB / 0.9928 GB, free: 6.125 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.01448, allocations: 1.955 MB / 0.9947 GB, free: 4.074 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.107e-05/0.01453, allocations: 93.67 kB / 0.9948 GB, free: 3.961 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 6.018e-05/0.01459, allocations: 29 kB / 0.9948 GB, free: 3.934 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.592e-05/0.01465, allocations: 36.48 kB / 0.9948 GB, free: 3.898 MB / 0.948 GB Notification: Performance of SimCode: time 4.81e-07/0.01465, allocations: 0 / 0.9948 GB, free: 3.898 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02683/0.04149, allocations: 5.098 MB / 0.9998 GB, free: 14.98 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.799/6.84, allocations: 12.69 kB / 0.9998 GB, free: 14.97 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder_fmu --startTime=0 --stopTime=250 --stepSize=0.1 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HANaturalCylinder.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.854155221022666]