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.0008258/0.0008258, 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.0009117/0.0009117, 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.8849/0.8849, 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 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.659/1.659, allocations: 377.9 MB / 0.6221 GB, free: 8.652 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.HACoilInside,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_BaseClasses_Examples_HACoilInside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.453e-05/1.593e-05, allocations: 2.281 kB / 0.981 GB, free: 2.527 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.00195/0.001966, allocations: 1.612 MB / 0.9826 GB, free: 0.9062 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.003132, allocations: 0.9194 MB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.113e-05/0.003203, allocations: 3.844 kB / 0.9835 GB, free: 15.98 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 3.17e-05/0.003235, allocations: 3.938 kB / 0.9835 GB, free: 15.97 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.003457, allocations: 27.72 kB / 0.9835 GB, free: 15.95 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000337/0.003794, allocations: 163.4 kB / 0.9837 GB, free: 15.79 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.003938, allocations: 83.58 kB / 0.9838 GB, free: 15.7 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/0.004039, allocations: 15.92 kB / 0.9838 GB, free: 15.69 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.004181, allocations: 43.91 kB / 0.9838 GB, free: 15.64 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.004256, allocations: 35.89 kB / 0.9839 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.004272, allocations: 4 kB / 0.9839 GB, free: 15.61 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002763/0.004548, allocations: 271.6 kB / 0.9841 GB, free: 15.34 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 1.859e-05/0.004566, allocations: 15.91 kB / 0.9841 GB, free: 15.32 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 3.082e-05/0.004597, allocations: 19.94 kB / 0.9841 GB, free: 15.3 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002331/0.00483, allocations: 191.5 kB / 0.9843 GB, free: 15.12 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.004833, allocations: 4 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.154e-06/0.004835, allocations: 3.984 kB / 0.9843 GB, free: 15.11 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.00484, allocations: 0 / 0.9843 GB, free: 15.11 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004464/0.005286, allocations: 329.7 kB / 0.9847 GB, free: 14.76 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.005331, allocations: 15.97 kB / 0.9847 GB, free: 14.74 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.002e-05/0.005361, allocations: 30.75 kB / 0.9847 GB, free: 14.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.005522, allocations: 28.86 kB / 0.9847 GB, free: 14.68 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001834/0.005705, allocations: 141.6 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.005715, allocations: 4.375 kB / 0.9849 GB, free: 14.51 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.005727, allocations: 8.375 kB / 0.9849 GB, free: 14.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001381/0.005865, allocations: 66.16 kB / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.005872, allocations: 192 / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.005883, allocations: 4.125 kB / 0.9849 GB, free: 14.43 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.00589, allocations: 4 kB / 0.9849 GB, free: 14.42 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.34e-05/0.005983, allocations: 47.95 kB / 0.985 GB, free: 14.38 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.006322, allocations: 259.9 kB / 0.9852 GB, free: 14.08 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.951e-05/0.006422, allocations: 50.5 kB / 0.9853 GB, free: 14.02 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.673e-05/0.006469, allocations: 28.97 kB / 0.9853 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.54e-05/0.006484, allocations: 0 / 0.9853 GB, free: 13.99 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.006505, allocations: 34.56 kB / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.006506, allocations: 0 / 0.9853 GB, free: 13.95 MB / 0.948 GB Notification: Performance of matching and sorting (n=5): time 0.0002591/0.006765, allocations: 113.5 kB / 0.9855 GB, free: 13.83 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.141e-05/0.006796, allocations: 55.34 kB / 0.9855 GB, free: 13.76 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.457e-05/0.006881, allocations: 136.6 kB / 0.9856 GB, free: 13.62 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.006892, allocations: 25.7 kB / 0.9857 GB, free: 13.59 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 4.938e-05/0.006941, allocations: 104.1 kB / 0.9858 GB, free: 13.48 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 1.533e-05/0.006957, allocations: 15.86 kB / 0.9858 GB, free: 13.46 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.00699, allocations: 21.7 kB / 0.9858 GB, free: 13.44 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.38e-05/0.007074, allocations: 314.8 kB / 0.9861 GB, free: 13.12 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.748e-05/0.007122, allocations: 23.98 kB / 0.9861 GB, free: 13.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.677e-05/0.007158, allocations: 23.98 kB / 0.9861 GB, free: 13.07 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.826e-05/0.007247, allocations: 60.77 kB / 0.9862 GB, free: 13.01 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.007248, allocations: 0 / 0.9862 GB, free: 13.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001321/0.007381, allocations: 93.55 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.007393, allocations: 4 kB / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.007397, allocations: 0 / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/0.007411, allocations: 0 / 0.9863 GB, free: 12.91 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.007483, allocations: 19.98 kB / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.007488, allocations: 0 / 0.9863 GB, free: 12.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.244e-05/0.007521, allocations: 8.422 kB / 0.9863 GB, free: 12.88 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.007526, allocations: 0 / 0.9863 GB, free: 12.88 MB / 0.948 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 5.432e-05/0.007581, allocations: 113.8 kB / 0.9864 GB, free: 12.76 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.574e-05/0.007606, allocations: 15.88 kB / 0.9864 GB, free: 12.75 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.007759, allocations: 110 kB / 0.9865 GB, free: 12.64 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.007761, allocations: 4 kB / 0.9866 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.007766, allocations: 0 / 0.9866 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.007769, allocations: 0 / 0.9866 GB, free: 12.63 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.007892, allocations: 156.6 kB / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.007893, allocations: 0 / 0.9867 GB, free: 12.44 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.617e-05/0.00793, allocations: 15.98 kB / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.007931, allocations: 0 / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/0.00794, allocations: 0 / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.007941, allocations: 3.938 kB / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.007942, allocations: 0 / 0.9867 GB, free: 12.42 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.008091, allocations: 199.3 kB / 0.9869 GB, free: 12.21 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.008101, allocations: 11.91 kB / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.008113, allocations: 0 / 0.9869 GB, free: 12.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.866e-05/0.008152, allocations: 4 kB / 0.9869 GB, free: 12.19 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.549e-05/0.008187, allocations: 7.922 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.008192, allocations: 4 kB / 0.9869 GB, free: 12.18 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.008233, allocations: 103.2 kB / 0.987 GB, free: 12.08 MB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.008233, allocations: 0 / 0.987 GB, free: 12.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.000178/0.008412, allocations: 24 kB / 0.9871 GB, free: 12.05 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 (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.0004063/0.008818, allocations: 0.7397 MB / 0.9878 GB, free: 11.29 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001385/0.008956, allocations: 55.95 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.143e-06/0.008957, allocations: 4 kB / 0.9878 GB, free: 11.23 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.009001, allocations: 27.92 kB / 0.9879 GB, free: 11.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002155/0.009216, allocations: 16.42 kB / 0.9879 GB, free: 11.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001106/0.01032, allocations: 1.462 MB / 0.9893 GB, free: 9.641 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.217e-05/0.01037, allocations: 79.33 kB / 0.9894 GB, free: 9.543 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 3.595e-05/0.01041, allocations: 11.98 kB / 0.9894 GB, free: 9.531 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.01046, allocations: 24.48 kB / 0.9894 GB, free: 9.504 MB / 0.948 GB Notification: Performance of SimCode: time 6.22e-07/0.01046, allocations: 0 / 0.9894 GB, free: 9.504 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01707/0.02753, allocations: 3.077 MB / 0.9924 GB, free: 6.582 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.927/6.955, allocations: 4.5 kB / 0.9924 GB, free: 6.582 MB / 0.948 GB " [Timeout remaining time 293] (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/jenkins/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: 10.86325137782842]