Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.001954/0.001954, allocations: 79.69 kB / 20.23 MB, free: 4.18 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.002106/0.002106, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.682/1.682, allocations: 177.1 MB / 203.9 MB, free: 5.609 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.157/3.157, allocations: 377.8 MB / 0.6232 GB, free: 8.531 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.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conAir.m_flow|conAir.T|conAir.X_w|conAir.C.1.|souRev.outlet.backward.T|souRev.outlet.backward.X_w|souRev.outlet.backward.C.1.",fileNamePrefix="Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 0.8108 GB, free: 2.051 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.538e-05, allocations: 5.125 kB / 0.8108 GB, free: 2.047 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2707/0.2708, allocations: 170.6 MB / 0.9774 GB, free: 6.93 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.01375/0.2845, allocations: 9.835 MB / 0.987 GB, free: 13.06 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003904/0.2849, allocations: 15.88 kB / 0.987 GB, free: 13.05 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0007398/0.2856, allocations: 194.6 kB / 0.9872 GB, free: 12.86 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.0003393/0.286, allocations: 95.31 kB / 0.9873 GB, free: 12.76 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002453/0.2862, allocations: 71.84 kB / 0.9874 GB, free: 12.69 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0005467/0.2868, allocations: 342.4 kB / 0.9877 GB, free: 12.36 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003778/0.2872, allocations: 125.4 kB / 0.9878 GB, free: 12.23 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005542/0.2877, allocations: 243.3 kB / 0.9881 GB, free: 12 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.2879, allocations: 91.69 kB / 0.9881 GB, free: 11.91 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 4.759e-05/0.2879, allocations: 24 kB / 0.9882 GB, free: 11.88 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 4.732e-05/0.288, allocations: 20 kB / 0.9882 GB, free: 11.86 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001217/0.2881, allocations: 75.73 kB / 0.9883 GB, free: 11.79 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 0.0001311/0.2882, allocations: 87.83 kB / 0.9883 GB, free: 11.7 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004381/0.2887, allocations: 294.9 kB / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2887, allocations: 0 / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.953e-06/0.2887, allocations: 0 / 0.9886 GB, free: 11.41 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.343e-06/0.2887, allocations: 0 / 0.9886 GB, free: 11.41 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0007913/0.2895, allocations: 0.562 MB / 0.9892 GB, free: 10.81 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.639e-05/0.2895, allocations: 8.031 kB / 0.9892 GB, free: 10.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.2896, allocations: 55.75 kB / 0.9892 GB, free: 10.75 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003931/0.29, allocations: 227.5 kB / 0.9895 GB, free: 10.5 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.356e-05/0.2901, allocations: 20.66 kB / 0.9895 GB, free: 10.48 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.707e-05/0.2901, allocations: 24 kB / 0.9895 GB, free: 10.46 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005718/0.2907, allocations: 353.9 kB / 0.9898 GB, free: 10.05 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.341e-05/0.2907, allocations: 0 / 0.9898 GB, free: 10.05 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.796e-05/0.2907, allocations: 12 kB / 0.9898 GB, free: 10.04 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.2907, allocations: 8 kB / 0.9898 GB, free: 10.03 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002162/0.2909, allocations: 111.8 kB / 0.99 GB, free: 9.922 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002327/0.2933, allocations: 2.363 MB / 0.9923 GB, free: 7.461 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.2935, allocations: 269.4 kB / 0.9925 GB, free: 7.184 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.603e-05/0.2935, allocations: 130.9 kB / 0.9926 GB, free: 7.051 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 6.659e-05/0.2936, allocations: 119.2 kB / 0.9928 GB, free: 6.934 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.255e-05/0.2937, allocations: 152.6 kB / 0.9929 GB, free: 6.773 MB / 0.948 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2937, allocations: 112 / 0.9929 GB, free: 6.773 MB / 0.948 GB Notification: Performance of matching and sorting (n=0): time 9.763e-05/0.2938, allocations: 45.53 kB / 0.9929 GB, free: 6.723 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001129/0.2939, allocations: 170.6 kB / 0.9931 GB, free: 6.543 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.2942, allocations: 239.7 kB / 0.9933 GB, free: 6.293 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.2942, allocations: 25.7 kB / 0.9934 GB, free: 6.262 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002159/0.2944, allocations: 254.6 kB / 0.9936 GB, free: 6.008 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 3.196e-06/0.2944, allocations: 4 kB / 0.9936 GB, free: 6.004 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.576e-05/0.2944, allocations: 19.38 kB / 0.9936 GB, free: 5.977 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0002825/0.2947, allocations: 0.5001 MB / 0.9941 GB, free: 5.465 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.476e-05/0.2947, allocations: 0 / 0.9941 GB, free: 5.465 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.545e-05/0.2948, allocations: 50.44 kB / 0.9942 GB, free: 5.395 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.496e-05/0.2949, allocations: 58.36 kB / 0.9942 GB, free: 5.316 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2949, allocations: 4 kB / 0.9942 GB, free: 5.312 MB / 0.948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001664/0.2951, allocations: 73.52 kB / 0.9943 GB, free: 5.234 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.2951, allocations: 10.66 kB / 0.9943 GB, free: 5.227 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2951, allocations: 0 / 0.9943 GB, free: 5.227 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.2951, allocations: 3.938 kB / 0.9943 GB, free: 5.223 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.677e-05/0.2952, allocations: 8 kB / 0.9943 GB, free: 5.215 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.2952, allocations: 4 kB / 0.9943 GB, free: 5.211 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.759e-05/0.2952, allocations: 7.891 kB / 0.9943 GB, free: 5.203 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-06/0.2952, allocations: 4.156 kB / 0.9943 GB, free: 5.199 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * 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.000225/0.2954, allocations: 299.7 kB / 0.9946 GB, free: 4.895 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.2956, allocations: 156.8 kB / 0.9948 GB, free: 4.734 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.2957, allocations: 153.4 kB / 0.9949 GB, free: 4.582 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001565/0.2958, allocations: 279.9 kB / 0.9952 GB, free: 4.301 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001582/0.296, allocations: 268.1 kB / 0.9954 GB, free: 4.031 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001708/0.2961, allocations: 268.1 kB / 0.9957 GB, free: 3.762 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005387/0.2967, allocations: 0.5937 MB / 0.9963 GB, free: 3.125 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.66e-05/0.2968, allocations: 152.9 kB / 0.9964 GB, free: 2.969 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2969, allocations: 152.9 kB / 0.9966 GB, free: 2.812 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001404/0.297, allocations: 264.1 kB / 0.9968 GB, free: 2.547 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001714/0.2972, allocations: 276 kB / 0.9971 GB, free: 2.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001507/0.2973, allocations: 264.1 kB / 0.9973 GB, free: 2.004 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001578/0.2975, allocations: 275.9 kB / 0.9976 GB, free: 1.727 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005812/0.2981, allocations: 452 kB / 0.998 GB, free: 1.258 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001258/0.2982, allocations: 160.8 kB / 0.9982 GB, free: 1.094 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/0.2984, allocations: 268.1 kB / 0.9984 GB, free: 0.8242 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001365/0.2985, allocations: 152.8 kB / 0.9986 GB, free: 0.668 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001657/0.2987, allocations: 276 kB / 0.9988 GB, free: 400 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.716e-05/0.2988, allocations: 144.9 kB / 0.999 GB, free: 248 kB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001579/0.2989, allocations: 168.1 kB / 0.9991 GB, free: 80 kB / 0.948 GB Notification: Performance of sort global known variables: time 7e-08/0.2989, allocations: 4 kB / 0.9991 GB, free: 76 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0003217/0.2993, allocations: 47.73 kB / 0.9992 GB, free: 28 kB / 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 (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.0002108/0.2995, allocations: 218.4 kB / 0.9994 GB, free: 15.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001074/0.2996, allocations: 27.67 kB / 0.9994 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2996, allocations: 0 / 0.9994 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.729e-06/0.2996, allocations: 3.938 kB / 0.9994 GB, free: 15.77 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006441/0.3002, allocations: 0.7078 MB / 1 GB, free: 15.06 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007904/0.301, allocations: 474.9 kB / 1.001 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000176/0.3012, allocations: 141.2 kB / 1.001 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 5.003e-05/0.3012, allocations: 12.48 kB / 1.001 GB, free: 14.39 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.192e-05/0.3013, allocations: 12.5 kB / 1.001 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of SimCode: time 5.21e-07/0.3013, allocations: 0 / 1.001 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of Templates: time 0.003402/0.3047, allocations: 318.7 kB / 1.001 GB, free: 14.07 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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.072343194042332]