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.00157/0.00157, allocations: 80.77 kB / 19.18 MB, free: 2.516 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.001658/0.001658, allocations: 167.8 kB / 22.46 MB, free: 5.375 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.535/1.535, allocations: 177.1 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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 2.978/2.978, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] 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: translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") translateModel(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|hASin.hA",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.348e-05/3.593e-05, allocations: 5.656 kB / 0.9815 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside): time 0.003652/0.003688, allocations: 1.631 MB / 0.9831 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002085/0.005774, allocations: 0.9076 MB / 0.984 GB, free: 9.352 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001151/0.005889, allocations: 3.938 kB / 0.984 GB, free: 9.348 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.144e-05/0.00593, allocations: 15.86 kB / 0.984 GB, free: 9.332 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002797/0.00621, allocations: 27.72 kB / 0.984 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005914/0.006801, allocations: 155.4 kB / 0.9841 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002258/0.007027, allocations: 79.66 kB / 0.9842 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.00714, allocations: 11.94 kB / 0.9842 GB, free: 9.062 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000225/0.007365, allocations: 59.81 kB / 0.9843 GB, free: 9.004 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.007484, allocations: 31.91 kB / 0.9843 GB, free: 8.973 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.007507, allocations: 4 kB / 0.9843 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004633/0.007971, allocations: 271.6 kB / 0.9846 GB, free: 8.703 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.554e-05/0.007996, allocations: 15.92 kB / 0.9846 GB, free: 8.688 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.727e-05/0.008043, allocations: 19.92 kB / 0.9846 GB, free: 8.668 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003606/0.008404, allocations: 187.5 kB / 0.9848 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.008408, allocations: 0 / 0.9848 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.92e-07/0.008408, allocations: 0 / 0.9848 GB, free: 8.484 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.729e-06/0.008413, allocations: 0 / 0.9848 GB, free: 8.484 MB / 0.9356 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.0006828/0.009096, allocations: 341.7 kB / 0.9851 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.009142, allocations: 12.03 kB / 0.9851 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003059/0.009448, allocations: 24.88 kB / 0.9852 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002884/0.009737, allocations: 148.1 kB / 0.9853 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.009748, allocations: 384 / 0.9853 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.506e-05/0.009763, allocations: 4.375 kB / 0.9853 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002203/0.009983, allocations: 66.22 kB / 0.9854 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.338e-06/0.009993, allocations: 192 / 0.9854 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/0.01001, allocations: 384 / 0.9854 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.335e-05/0.01002, allocations: 3.938 kB / 0.9854 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.0102, allocations: 39.97 kB / 0.9854 GB, free: 7.801 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005631/0.01076, allocations: 236.5 kB / 0.9856 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.01093, allocations: 54.5 kB / 0.9857 GB, free: 7.477 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.479e-05/0.01103, allocations: 32.97 kB / 0.9857 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.028e-05/0.01105, allocations: 3.984 kB / 0.9857 GB, free: 7.438 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.01108, allocations: 34.5 kB / 0.9858 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.01108, allocations: 3.938 kB / 0.9858 GB, free: 7.391 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5): time 0.0004199/0.0115, allocations: 113.5 kB / 0.9859 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.01155, allocations: 55.41 kB / 0.9859 GB, free: 7.207 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.01169, allocations: 130.2 kB / 0.986 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.01172, allocations: 33.7 kB / 0.9861 GB, free: 7.027 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.182e-05/0.01179, allocations: 96.12 kB / 0.9862 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.01181, allocations: 23.86 kB / 0.9862 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.406e-05/0.01187, allocations: 21.7 kB / 0.9862 GB, free: 6.879 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.01204, allocations: 318.8 kB / 0.9865 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.412e-05/0.01214, allocations: 19.98 kB / 0.9865 GB, free: 6.539 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.812e-05/0.01222, allocations: 27.91 kB / 0.9866 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001772/0.01239, allocations: 52.84 kB / 0.9866 GB, free: 6.457 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.01239, allocations: 4 kB / 0.9866 GB, free: 6.453 MB / 0.9356 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002612/0.01266, allocations: 97.48 kB / 0.9867 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.01267, allocations: 4 kB / 0.9867 GB, free: 6.348 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.01268, allocations: 4 kB / 0.9867 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.01269, allocations: 0 / 0.9867 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.01282, allocations: 11.98 kB / 0.9867 GB, free: 6.332 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.01283, allocations: 4 kB / 0.9867 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.433e-05/0.0129, allocations: 3.984 kB / 0.9867 GB, free: 6.324 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.01291, allocations: 8 kB / 0.9867 GB, free: 6.316 MB / 0.9356 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 0.0001058/0.01301, allocations: 113.8 kB / 0.9869 GB, free: 6.195 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.014e-05/0.01306, allocations: 11.89 kB / 0.9869 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002943/0.01336, allocations: 102 kB / 0.987 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.01336, allocations: 0 / 0.987 GB, free: 6.082 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.01336, allocations: 4 kB / 0.987 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.01337, allocations: 0 / 0.987 GB, free: 6.078 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.01355, allocations: 121.3 kB / 0.9871 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01355, allocations: 0.5 kB / 0.9871 GB, free: 5.93 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.953e-05/0.01364, allocations: 20 kB / 0.9871 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.01364, allocations: 0 / 0.9871 GB, free: 5.91 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.01366, allocations: 11.92 kB / 0.9871 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.253e-06/0.01366, allocations: 0 / 0.9871 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01366, allocations: 0 / 0.9871 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003034/0.01396, allocations: 183.5 kB / 0.9873 GB, free: 5.703 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.84e-05/0.01398, allocations: 11.89 kB / 0.9873 GB, free: 5.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.313e-05/0.01401, allocations: 15.81 kB / 0.9873 GB, free: 5.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.173e-05/0.0141, allocations: 8 kB / 0.9873 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.003e-05/0.01415, allocations: 3.984 kB / 0.9873 GB, free: 5.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.486e-06/0.01416, allocations: 4 kB / 0.9873 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.263e-05/0.01424, allocations: 105.3 kB / 0.9874 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.01424, allocations: 0 / 0.9874 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002664/0.01451, allocations: 23.98 kB / 0.9874 GB, free: 5.535 MB / 0.9356 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.0002094/0.01471, allocations: 115.7 kB / 0.9876 GB, free: 5.41 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002275/0.01494, allocations: 55.95 kB / 0.9876 GB, free: 5.355 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.01494, allocations: 4 kB / 0.9876 GB, free: 5.352 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.299e-05/0.01504, allocations: 27.92 kB / 0.9876 GB, free: 5.324 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.01533, allocations: 8 kB / 0.9877 GB, free: 5.316 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004784/0.0158, allocations: 193.3 kB / 0.9878 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.74e-05/0.01589, allocations: 75.58 kB / 0.9879 GB, free: 5.008 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.452e-05/0.01594, allocations: 8 kB / 0.9879 GB, free: 5 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.334e-05/0.01598, allocations: 16.48 kB / 0.9879 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of SimCode: time 5.71e-07/0.01598, allocations: 0 / 0.9879 GB, free: 4.98 MB / 0.9356 GB Notification: Performance of Templates: time 0.004373/0.02035, allocations: 1.146 MB / 0.9891 GB, free: 3.859 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.BaseClasses.Examples.HACoilInside.pipe 2>&1) [Timeout 400] 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: 8.599597543478012]