Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.002197/0.002197, allocations: 84.39 kB / 20.23 MB, free: 4.312 MB / 18.57 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.003004/0.003004, allocations: 165.7 kB / 23.55 MB, free: 1.004 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 1.632/1.632, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 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 3.023/3.023, allocations: 377.8 MB / 0.6232 GB, free: 8.512 MB / 0.5886 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.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.084e-06/2.084e-06, allocations: 0 / 0.8108 GB, free: 2.059 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.519e-05/3.727e-05, allocations: 10.44 kB / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2621/0.2621, allocations: 150.4 MB / 0.9577 GB, free: 11.14 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.01037/0.2725, allocations: 5.476 MB / 0.963 GB, free: 5.648 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.2729, allocations: 7.938 kB / 0.9631 GB, free: 5.641 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0012/0.2741, allocations: 202.6 kB / 0.9633 GB, free: 5.441 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0007605/0.2749, allocations: 103.2 kB / 0.9633 GB, free: 5.34 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.2774, allocations: 0.5213 MB / 0.9639 GB, free: 4.816 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.2784, allocations: 418.5 kB / 0.9643 GB, free: 4.406 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004362/0.2789, allocations: 97.95 kB / 0.9644 GB, free: 4.309 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007919/0.2797, allocations: 255.2 kB / 0.9646 GB, free: 4.059 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000333/0.28, allocations: 123.7 kB / 0.9647 GB, free: 3.938 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 6.887e-05/0.2801, allocations: 19.98 kB / 0.9647 GB, free: 3.918 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.2817, allocations: 382.7 kB / 0.9651 GB, free: 3.543 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001976/0.2819, allocations: 75.73 kB / 0.9652 GB, free: 3.465 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002011/0.2821, allocations: 71.83 kB / 0.9652 GB, free: 3.395 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001314/0.2834, allocations: 470.5 kB / 0.9657 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.2834, allocations: 0 / 0.9657 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2834, allocations: 0 / 0.9657 GB, free: 2.934 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.432e-05/0.2834, allocations: 0 / 0.9657 GB, free: 2.934 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001107/0.2845, allocations: 457.3 kB / 0.9661 GB, free: 2.457 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.633e-05/0.2846, allocations: 12.02 kB / 0.9661 GB, free: 2.445 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000541/0.2851, allocations: 71.78 kB / 0.9662 GB, free: 2.375 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006263/0.2857, allocations: 211.8 kB / 0.9664 GB, free: 2.145 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003497/0.2861, allocations: 242.1 kB / 0.9666 GB, free: 1.855 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.263e-05/0.2862, allocations: 20 kB / 0.9667 GB, free: 1.836 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007545/0.2869, allocations: 290 kB / 0.9669 GB, free: 1.52 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.109e-05/0.2869, allocations: 3.984 kB / 0.9669 GB, free: 1.516 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.122e-05/0.287, allocations: 15.94 kB / 0.9669 GB, free: 1.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.504e-05/0.287, allocations: 8 kB / 0.967 GB, free: 1.492 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004975/0.2875, allocations: 156.6 kB / 0.9671 GB, free: 1.34 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002302/0.2898, allocations: 1.448 MB / 0.9685 GB, free: 15.82 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001711/0.29, allocations: 173.1 kB / 0.9687 GB, free: 15.64 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.576e-05/0.29, allocations: 80.14 kB / 0.9688 GB, free: 15.56 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.651e-05/0.2901, allocations: 75.28 kB / 0.9688 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001019/0.2902, allocations: 113.9 kB / 0.9689 GB, free: 15.37 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=0): time 4.349e-06/0.2902, allocations: 3.984 kB / 0.9689 GB, free: 15.36 MB / 0.9323 GB Notification: Performance of matching and sorting (n=0): time 0.0001583/0.2903, allocations: 41.55 kB / 0.969 GB, free: 15.32 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001163/0.2905, allocations: 126.7 kB / 0.9691 GB, free: 15.18 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004744/0.2909, allocations: 243.9 kB / 0.9693 GB, free: 14.93 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 2.447e-05/0.291, allocations: 29.7 kB / 0.9694 GB, free: 14.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002418/0.2912, allocations: 211.5 kB / 0.9696 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.2912, allocations: 8 kB / 0.9696 GB, free: 14.68 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.2913, allocations: 37.7 kB / 0.9696 GB, free: 14.63 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0002606/0.2916, allocations: 322.8 kB / 0.9699 GB, free: 14.31 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.2918, allocations: 43.92 kB / 0.97 GB, free: 14.27 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003009/0.2921, allocations: 161.1 kB / 0.9701 GB, free: 14.05 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000424/0.2925, allocations: 196.9 kB / 0.9703 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.2925, allocations: 0 / 0.9703 GB, free: 13.79 MB / 0.9323 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007336/0.2932, allocations: 217.5 kB / 0.9705 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/0.2932, allocations: 8 kB / 0.9705 GB, free: 13.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.2933, allocations: 4 kB / 0.9705 GB, free: 13.56 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.112e-05/0.2933, allocations: 8 kB / 0.9705 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.2936, allocations: 35.92 kB / 0.9706 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.72e-05/0.2936, allocations: 15.88 kB / 0.9706 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/0.2939, allocations: 23.84 kB / 0.9706 GB, free: 13.48 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.644e-05/0.2939, allocations: 11.98 kB / 0.9706 GB, free: 13.47 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0002711/0.2942, allocations: 221.3 kB / 0.9708 GB, free: 13.24 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.2943, allocations: 116.9 kB / 0.9709 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.597e-05/0.2944, allocations: 121.4 kB / 0.9711 GB, free: 13 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001027/0.2945, allocations: 180.3 kB / 0.9712 GB, free: 12.81 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001049/0.2946, allocations: 180.2 kB / 0.9714 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001079/0.2947, allocations: 188.1 kB / 0.9716 GB, free: 12.44 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007077/0.2954, allocations: 412.8 kB / 0.972 GB, free: 12 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.358e-05/0.2955, allocations: 104.9 kB / 0.9721 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.357e-05/0.2956, allocations: 105 kB / 0.9722 GB, free: 11.78 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001002/0.2957, allocations: 180.3 kB / 0.9723 GB, free: 11.59 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.2958, allocations: 184.2 kB / 0.9725 GB, free: 11.41 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.906e-05/0.2959, allocations: 184.2 kB / 0.9727 GB, free: 11.22 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001068/0.296, allocations: 184.2 kB / 0.9729 GB, free: 11.03 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.2962, allocations: 311.7 kB / 0.9732 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.2963, allocations: 124.8 kB / 0.9733 GB, free: 10.57 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.2965, allocations: 184.2 kB / 0.9735 GB, free: 10.39 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.2966, allocations: 108.9 kB / 0.9736 GB, free: 10.27 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/0.2967, allocations: 176.3 kB / 0.9737 GB, free: 10.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.718e-05/0.2968, allocations: 101 kB / 0.9738 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002251/0.297, allocations: 172.1 kB / 0.974 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of sort global known variables: time 7e-08/0.297, allocations: 0 / 0.974 GB, free: 9.82 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004432/0.2975, allocations: 67.78 kB / 0.9741 GB, free: 9.754 MB / 0.9323 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 (0): * Single equations (assignments): 0 * 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.0003451/0.2978, allocations: 194.5 kB / 0.9742 GB, free: 9.555 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0002471/0.298, allocations: 84.14 kB / 0.9743 GB, free: 9.473 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.2981, allocations: 4 kB / 0.9743 GB, free: 9.469 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 2.334e-06/0.2981, allocations: 0 / 0.9743 GB, free: 9.469 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005251/0.2986, allocations: 466.3 kB / 0.9748 GB, free: 9.012 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007467/0.2993, allocations: 392.6 kB / 0.9751 GB, free: 8.605 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001744/0.2995, allocations: 129.6 kB / 0.9753 GB, free: 8.461 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0001321/0.2996, allocations: 29.47 kB / 0.9753 GB, free: 8.434 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.2997, allocations: 16.5 kB / 0.9753 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of SimCode: time 7.52e-07/0.2997, allocations: 0 / 0.9753 GB, free: 8.418 MB / 0.9323 GB Notification: Performance of Templates: time 0.004944/0.3046, allocations: 1.195 MB / 0.9765 GB, free: 7.238 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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: 9.017058316036128]