Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.000809/0.000809, 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.001251/0.001251, 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.8985/0.8985, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.635/1.635, allocations: 359 MB / 0.6037 GB, free: 11.1 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.9505 GB, free: 3.5 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.633e-05, allocations: 14.16 kB / 0.9505 GB, free: 3.484 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6149/0.6149, allocations: 153.6 MB / 1.101 GB, free: 37.65 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.00783/0.6228, allocations: 8.61 MB / 1.109 GB, free: 35.58 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002587/0.623, allocations: 12.03 kB / 1.109 GB, free: 35.58 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0005147/0.6235, allocations: 201.3 kB / 1.109 GB, free: 35.45 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001875/0.6237, allocations: 104.5 kB / 1.109 GB, free: 35.4 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001647/0.6239, allocations: 66.81 kB / 1.109 GB, free: 35.36 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0003194/0.6242, allocations: 339.2 kB / 1.11 GB, free: 35.2 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002784/0.6245, allocations: 131.9 kB / 1.11 GB, free: 35.14 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.6249, allocations: 225.4 kB / 1.11 GB, free: 35.06 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001365/0.625, allocations: 94.23 kB / 1.11 GB, free: 35.04 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 3.396e-05/0.6251, allocations: 22.84 kB / 1.11 GB, free: 35.04 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 2.97e-05/0.6251, allocations: 24.75 kB / 1.11 GB, free: 35.03 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001051/0.6252, allocations: 73.94 kB / 1.11 GB, free: 35 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 9.209e-05/0.6253, allocations: 95.53 kB / 1.11 GB, free: 34.96 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.000362/0.6257, allocations: 286.5 kB / 1.111 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.6257, allocations: 1.062 kB / 1.111 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.314e-06/0.6257, allocations: 0 / 1.111 GB, free: 34.86 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.6257, allocations: 0 / 1.111 GB, free: 34.86 MB / 0.9948 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.0004471/0.6261, allocations: 453.2 kB / 1.111 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/0.6262, allocations: 9.656 kB / 1.111 GB, free: 34.48 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.397e-05/0.6262, allocations: 62.72 kB / 1.111 GB, free: 34.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.986e-05/0.6263, allocations: 34.88 kB / 1.111 GB, free: 34.41 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003338/0.6266, allocations: 217 kB / 1.111 GB, free: 34.23 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.6266, allocations: 23.22 kB / 1.111 GB, free: 34.21 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.6267, allocations: 25.5 kB / 1.111 GB, free: 34.21 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003756/0.627, allocations: 326.2 kB / 1.112 GB, free: 33.98 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.627, allocations: 1.156 kB / 1.112 GB, free: 33.98 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.6271, allocations: 11.44 kB / 1.112 GB, free: 33.98 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.6271, allocations: 6.969 kB / 1.112 GB, free: 33.98 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001655/0.6272, allocations: 145.1 kB / 1.112 GB, free: 33.92 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007649/0.628, allocations: 1.73 MB / 1.113 GB, free: 32.35 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 4.949e-05/0.628, allocations: 171.3 kB / 1.114 GB, free: 32.17 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.556e-05/0.6281, allocations: 85.23 kB / 1.114 GB, free: 32.09 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.279e-05/0.6281, allocations: 75.8 kB / 1.114 GB, free: 32.01 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.107e-05/0.6281, allocations: 108.8 kB / 1.114 GB, free: 31.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.6281, allocations: 3.281 kB / 1.114 GB, free: 31.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=0): time 6.767e-05/0.6282, allocations: 59.34 kB / 1.114 GB, free: 31.85 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.6282, allocations: 126.7 kB / 1.114 GB, free: 31.71 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003008/0.6285, allocations: 377.8 kB / 1.114 GB, free: 31.52 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 5.34e-06/0.6285, allocations: 30.36 kB / 1.114 GB, free: 31.49 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.133e-05/0.6286, allocations: 167.2 kB / 1.115 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 3.546e-06/0.6286, allocations: 1.906 kB / 1.115 GB, free: 31.34 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.449e-05/0.6286, allocations: 19.3 kB / 1.115 GB, free: 31.32 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.996e-05/0.6287, allocations: 336.8 kB / 1.115 GB, free: 31 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.6287, allocations: 5.016 kB / 1.115 GB, free: 31 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.119e-05/0.6287, allocations: 38.92 kB / 1.115 GB, free: 30.96 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.169e-05/0.6287, allocations: 50.86 kB / 1.115 GB, free: 30.9 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.6287, allocations: 1.188 kB / 1.115 GB, free: 30.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001199/0.6289, allocations: 91.97 kB / 1.115 GB, free: 30.84 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.6289, allocations: 10 kB / 1.115 GB, free: 30.84 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.6289, allocations: 5.641 kB / 1.115 GB, free: 30.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.388e-05/0.6289, allocations: 2.344 kB / 1.115 GB, free: 30.83 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.995e-05/0.6289, allocations: 8.031 kB / 1.115 GB, free: 30.83 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.629, allocations: 6.438 kB / 1.115 GB, free: 30.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.629, allocations: 35.34 kB / 1.115 GB, free: 30.8 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.629, allocations: 2.344 kB / 1.115 GB, free: 30.8 MB / 0.9948 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 7.653e-05/0.6291, allocations: 210.5 kB / 1.115 GB, free: 30.6 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.6291, allocations: 134.9 kB / 1.116 GB, free: 30.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.345e-05/0.6292, allocations: 131.3 kB / 1.116 GB, free: 30.36 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.6292, allocations: 185.4 kB / 1.116 GB, free: 30.17 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.278e-05/0.6292, allocations: 178.2 kB / 1.116 GB, free: 29.99 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-05/0.6292, allocations: 178.2 kB / 1.116 GB, free: 29.81 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001786/0.6294, allocations: 449.7 kB / 1.117 GB, free: 29.38 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-05/0.6294, allocations: 106.8 kB / 1.117 GB, free: 29.27 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.205e-05/0.6294, allocations: 107 kB / 1.117 GB, free: 29.16 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.88e-05/0.6295, allocations: 178.2 kB / 1.117 GB, free: 28.98 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.6295, allocations: 186.1 kB / 1.117 GB, free: 28.79 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.801e-05/0.6295, allocations: 182.7 kB / 1.117 GB, free: 28.61 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-05/0.6295, allocations: 178.1 kB / 1.118 GB, free: 28.43 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.566e-05/0.6296, allocations: 326.2 kB / 1.118 GB, free: 28.1 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.6296, allocations: 150.8 kB / 1.118 GB, free: 27.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.399e-05/0.6297, allocations: 182.2 kB / 1.118 GB, free: 27.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.982e-05/0.6297, allocations: 103.1 kB / 1.118 GB, free: 27.67 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.802e-05/0.6298, allocations: 182.2 kB / 1.118 GB, free: 27.49 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.6298, allocations: 107 kB / 1.119 GB, free: 27.38 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0002143/0.63, allocations: 270.4 kB / 1.119 GB, free: 27.24 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.63, allocations: 0 / 1.119 GB, free: 27.24 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001828/0.6302, allocations: 28.97 kB / 1.119 GB, free: 27.24 MB / 0.9948 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.0001879/0.6304, allocations: 0.8334 MB / 1.12 GB, free: 26.42 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 7.172e-05/0.6304, allocations: 17.67 kB / 1.12 GB, free: 26.41 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.6304, allocations: 1.188 kB / 1.12 GB, free: 26.41 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 8.12e-07/0.6304, allocations: 0 / 1.12 GB, free: 26.41 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004786/0.6309, allocations: 0.5534 MB / 1.12 GB, free: 25.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.6329, allocations: 2.709 MB / 1.123 GB, free: 24.09 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.633, allocations: 145.5 kB / 1.123 GB, free: 24 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 8.408e-05/0.6331, allocations: 36.39 kB / 1.123 GB, free: 23.99 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.436e-05/0.6332, allocations: 79.47 kB / 1.123 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of SimCode: time 3.91e-07/0.6332, allocations: 1.125 kB / 1.123 GB, free: 23.93 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02115/0.6543, allocations: 6.988 MB / 1.13 GB, free: 22.58 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/7.976, allocations: 7.391 kB / 1.13 GB, free: 22.58 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 11.942666655406356]