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.001291/0.001291, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001646/0.001646, allocations: 217.1 kB / 22.25 MB, free: 5.125 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.98 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.747/2.747, allocations: 476.7 MB / 0.7707 GB, free: 4.305 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 66.16 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3336/0.3356, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2814/0.617, allocations: 177.8 MB / 1.457 GB, free: 9.273 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.01247/0.6295, allocations: 9.666 MB / 1.466 GB, free: 15.58 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004272/0.6299, allocations: 7.938 kB / 1.466 GB, free: 15.57 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006927/0.6306, allocations: 198.6 kB / 1.467 GB, free: 15.38 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.631, allocations: 99.34 kB / 1.467 GB, free: 15.28 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.6312, allocations: 75.73 kB / 1.467 GB, free: 15.2 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005033/0.6318, allocations: 322.7 kB / 1.467 GB, free: 14.89 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003442/0.6321, allocations: 137.4 kB / 1.467 GB, free: 14.75 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.6325, allocations: 171.3 kB / 1.467 GB, free: 14.58 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002008/0.6327, allocations: 127.4 kB / 1.468 GB, free: 14.46 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 3.929e-05/0.6328, allocations: 20 kB / 1.468 GB, free: 14.44 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 4.535e-05/0.6328, allocations: 24 kB / 1.468 GB, free: 14.41 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.6329, allocations: 75.75 kB / 1.468 GB, free: 14.34 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.6331, allocations: 131.3 kB / 1.468 GB, free: 14.21 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003713/0.6334, allocations: 290.6 kB / 1.468 GB, free: 13.93 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/0.6334, allocations: 7.984 kB / 1.468 GB, free: 13.92 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6334, allocations: 0 / 1.468 GB, free: 13.92 MB / 1.17 GB Notification: Performance of Transformations before backend: time 1.677e-05/0.6335, allocations: 0 / 1.468 GB, free: 13.92 MB / 1.17 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.0006115/0.6341, allocations: 451.7 kB / 1.468 GB, free: 13.45 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.6341, allocations: 12.03 kB / 1.469 GB, free: 13.44 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.934e-05/0.6342, allocations: 66.53 kB / 1.469 GB, free: 13.36 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.884e-05/0.6342, allocations: 35.75 kB / 1.469 GB, free: 13.33 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004103/0.6347, allocations: 212.7 kB / 1.469 GB, free: 13.09 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/0.6347, allocations: 24.66 kB / 1.469 GB, free: 13.07 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.6347, allocations: 24 kB / 1.469 GB, free: 13.04 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005012/0.6352, allocations: 325.2 kB / 1.469 GB, free: 12.68 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.6352, allocations: 3.938 kB / 1.469 GB, free: 12.68 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.325e-05/0.6353, allocations: 12 kB / 1.469 GB, free: 12.67 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.216e-05/0.6353, allocations: 11.94 kB / 1.469 GB, free: 12.66 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.6355, allocations: 139.8 kB / 1.469 GB, free: 12.52 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001807/0.6373, allocations: 1.78 MB / 1.471 GB, free: 10.65 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.6374, allocations: 177.1 kB / 1.471 GB, free: 10.47 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.839e-05/0.6375, allocations: 88.06 kB / 1.471 GB, free: 10.38 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 3.529e-05/0.6376, allocations: 75.28 kB / 1.471 GB, free: 10.3 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.364e-05/0.6376, allocations: 109.8 kB / 1.471 GB, free: 10.19 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.6376, allocations: 0 / 1.471 GB, free: 10.19 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001179/0.6377, allocations: 61.5 kB / 1.472 GB, free: 10.12 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.473e-05/0.6378, allocations: 130.7 kB / 1.472 GB, free: 9.98 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005617/0.6384, allocations: 373.7 kB / 1.472 GB, free: 9.605 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.333e-05/0.6384, allocations: 25.7 kB / 1.472 GB, free: 9.574 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001456/0.6385, allocations: 163.9 kB / 1.472 GB, free: 9.41 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.6385, allocations: 0 / 1.472 GB, free: 9.41 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.816e-05/0.6386, allocations: 21.7 kB / 1.472 GB, free: 9.383 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.6387, allocations: 338.8 kB / 1.473 GB, free: 9.043 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.153e-05/0.6388, allocations: 4 kB / 1.473 GB, free: 9.039 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.073e-05/0.6388, allocations: 40.23 kB / 1.473 GB, free: 8.984 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.051e-05/0.6389, allocations: 44.22 kB / 1.473 GB, free: 8.926 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6389, allocations: 4 kB / 1.473 GB, free: 8.922 MB / 1.17 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001636/0.6391, allocations: 93.38 kB / 1.473 GB, free: 8.824 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.6391, allocations: 8 kB / 1.473 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.6391, allocations: 0 / 1.473 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.6391, allocations: 0 / 1.473 GB, free: 8.816 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.994e-05/0.6392, allocations: 11.94 kB / 1.473 GB, free: 8.805 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.6392, allocations: 4 kB / 1.473 GB, free: 8.801 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.948e-05/0.6392, allocations: 23.73 kB / 1.473 GB, free: 8.777 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.6392, allocations: 4.156 kB / 1.473 GB, free: 8.773 MB / 1.17 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.0001554/0.6394, allocations: 217.1 kB / 1.473 GB, free: 8.551 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.6395, allocations: 136.7 kB / 1.473 GB, free: 8.41 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.857e-05/0.6396, allocations: 126.9 kB / 1.473 GB, free: 8.281 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.09e-05/0.6397, allocations: 180.3 kB / 1.473 GB, free: 8.098 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.142e-05/0.6397, allocations: 180.2 kB / 1.474 GB, free: 7.914 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.01e-05/0.6398, allocations: 180.3 kB / 1.474 GB, free: 7.73 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00036/0.6402, allocations: 468.3 kB / 1.474 GB, free: 7.223 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-05/0.6402, allocations: 113 kB / 1.474 GB, free: 7.105 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.597e-05/0.6403, allocations: 113 kB / 1.474 GB, free: 6.988 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.299e-05/0.6404, allocations: 180.2 kB / 1.475 GB, free: 6.805 MB / 1.17 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.024e-05/0.6405, allocations: 184.3 kB / 1.475 GB, free: 6.617 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.35e-05/0.6405, allocations: 180.2 kB / 1.475 GB, free: 6.434 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.181e-05/0.6406, allocations: 176.3 kB / 1.475 GB, free: 6.254 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.6408, allocations: 339.5 kB / 1.475 GB, free: 5.898 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001098/0.6409, allocations: 132.8 kB / 1.476 GB, free: 5.762 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001127/0.641, allocations: 188.2 kB / 1.476 GB, free: 5.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.6412, allocations: 101 kB / 1.476 GB, free: 5.465 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.683e-05/0.6412, allocations: 188.1 kB / 1.476 GB, free: 5.273 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.602e-05/0.6413, allocations: 105 kB / 1.476 GB, free: 5.164 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.0002909/0.6416, allocations: 267.2 kB / 1.476 GB, free: 4.906 MB / 1.17 GB Notification: Performance of sort global known variables: time 1e-07/0.6416, allocations: 0 / 1.476 GB, free: 4.906 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.0002648/0.6418, allocations: 28 kB / 1.476 GB, free: 4.879 MB / 1.17 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.0004758/0.6423, allocations: 0.8397 MB / 1.477 GB, free: 4.008 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 7.912e-05/0.6424, allocations: 16 kB / 1.477 GB, free: 3.992 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6424, allocations: 320 / 1.477 GB, free: 3.992 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 2.985e-06/0.6424, allocations: 7.938 kB / 1.477 GB, free: 3.984 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008319/0.6432, allocations: 0.5439 MB / 1.478 GB, free: 3.434 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.6463, allocations: 2.698 MB / 1.48 GB, free: 0.6406 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004303/0.6467, allocations: 0.7557 MB / 1.481 GB, free: 15.86 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 0.0001039/0.6468, allocations: 34.91 kB / 1.481 GB, free: 15.83 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001034/0.6469, allocations: 75.41 kB / 1.481 GB, free: 15.75 MB / 1.186 GB Notification: Performance of SimCode: time 4.21e-07/0.6469, allocations: 4 kB / 1.481 GB, free: 15.75 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03524/0.6822, allocations: 6.044 MB / 1.487 GB, free: 9.887 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.42/12.1, allocations: 6.234 kB / 1.487 GB, free: 9.883 MB / 1.186 GB " [Timeout remaining time 287] (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/jenkins1/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: 18.690528358798474]