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.001291/0.001291, allocations: 99.75 kB / 18.95 MB, free: 2.832 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.001457/0.001457, allocations: 217.4 kB / 22.25 MB, free: 5.105 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.446/1.446, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.156/3.156, allocations: 0.49 GB / 0.7951 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_12_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.002985/0.002985, allocations: 67.8 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3935, allocations: 176.1 MB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2145/0.608, allocations: 153.7 MB / 1.476 GB, free: 7.18 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.01039/0.6184, allocations: 8.654 MB / 1.484 GB, free: 14.5 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000311/0.6187, allocations: 11.94 kB / 1.484 GB, free: 14.48 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006348/0.6194, allocations: 202.6 kB / 1.485 GB, free: 14.29 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0002721/0.6196, allocations: 95.31 kB / 1.485 GB, free: 14.19 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.6198, allocations: 63.92 kB / 1.485 GB, free: 14.13 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0004249/0.6203, allocations: 326.6 kB / 1.485 GB, free: 13.81 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.6206, allocations: 145.1 kB / 1.485 GB, free: 13.66 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003604/0.6209, allocations: 175.3 kB / 1.485 GB, free: 13.49 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001673/0.6211, allocations: 123.5 kB / 1.486 GB, free: 13.37 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 3.286e-05/0.6211, allocations: 20 kB / 1.486 GB, free: 13.35 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.6212, allocations: 28 kB / 1.486 GB, free: 13.32 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 9.845e-05/0.6213, allocations: 75.75 kB / 1.486 GB, free: 13.25 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.6214, allocations: 95.55 kB / 1.486 GB, free: 13.16 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0003325/0.6217, allocations: 306.5 kB / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.6217, allocations: 0 / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6217, allocations: 0 / 1.486 GB, free: 12.86 MB / 1.186 GB Notification: Performance of Transformations before backend: time 6.232e-06/0.6217, allocations: 0 / 1.486 GB, free: 12.86 MB / 1.186 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.0006392/0.6224, allocations: 455.2 kB / 1.486 GB, free: 12.38 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.6224, allocations: 8.031 kB / 1.486 GB, free: 12.38 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.866e-05/0.6225, allocations: 58.55 kB / 1.487 GB, free: 12.31 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.325e-05/0.6226, allocations: 35.75 kB / 1.487 GB, free: 12.27 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004322/0.623, allocations: 226.5 kB / 1.487 GB, free: 12.03 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.623, allocations: 16.66 kB / 1.487 GB, free: 12.01 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.209e-05/0.623, allocations: 24 kB / 1.487 GB, free: 11.99 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.6235, allocations: 329.1 kB / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.239e-05/0.6235, allocations: 0 / 1.487 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.6236, allocations: 12 kB / 1.487 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.6236, allocations: 19.92 kB / 1.487 GB, free: 11.59 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002279/0.6238, allocations: 143.7 kB / 1.487 GB, free: 11.45 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001565/0.6254, allocations: 1.737 MB / 1.489 GB, free: 9.621 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.6255, allocations: 169.1 kB / 1.489 GB, free: 9.445 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.755e-05/0.6255, allocations: 88.02 kB / 1.489 GB, free: 9.355 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 4.865e-05/0.6256, allocations: 75.28 kB / 1.489 GB, free: 9.281 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.959e-05/0.6256, allocations: 109.8 kB / 1.489 GB, free: 9.164 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.6256, allocations: 0 / 1.489 GB, free: 9.164 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 9.982e-05/0.6257, allocations: 57.52 kB / 1.489 GB, free: 9.102 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.486e-05/0.6258, allocations: 134.7 kB / 1.49 GB, free: 8.957 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004415/0.6263, allocations: 373.7 kB / 1.49 GB, free: 8.582 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.6263, allocations: 25.7 kB / 1.49 GB, free: 8.551 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/0.6264, allocations: 163.9 kB / 1.49 GB, free: 8.387 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 2.585e-06/0.6264, allocations: 4 kB / 1.49 GB, free: 8.383 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.691e-05/0.6265, allocations: 17.72 kB / 1.49 GB, free: 8.359 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.6266, allocations: 334.8 kB / 1.49 GB, free: 8.023 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.6267, allocations: 11.92 kB / 1.49 GB, free: 8.012 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.879e-05/0.6267, allocations: 36.3 kB / 1.491 GB, free: 7.961 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.284e-05/0.6268, allocations: 44.23 kB / 1.491 GB, free: 7.902 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6268, allocations: 0 / 1.491 GB, free: 7.902 MB / 1.186 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001763/0.6269, allocations: 97.31 kB / 1.491 GB, free: 7.801 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.627, allocations: 4 kB / 1.491 GB, free: 7.797 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.627, allocations: 4 kB / 1.491 GB, free: 7.793 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.627, allocations: 0 / 1.491 GB, free: 7.793 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.427e-05/0.627, allocations: 16.14 kB / 1.491 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.6271, allocations: 0 / 1.491 GB, free: 7.777 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.92e-05/0.6271, allocations: 27.73 kB / 1.491 GB, free: 7.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.775e-06/0.6271, allocations: 4 kB / 1.491 GB, free: 7.746 MB / 1.186 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.0001511/0.6273, allocations: 209.6 kB / 1.491 GB, free: 7.531 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.6274, allocations: 140.7 kB / 1.491 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.294e-05/0.6275, allocations: 126.9 kB / 1.491 GB, free: 7.254 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.713e-05/0.6276, allocations: 188.4 kB / 1.491 GB, free: 7.062 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.924e-05/0.6277, allocations: 184.2 kB / 1.492 GB, free: 6.875 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-05/0.6277, allocations: 176.3 kB / 1.492 GB, free: 6.695 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003652/0.6281, allocations: 460.1 kB / 1.492 GB, free: 6.195 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.124e-05/0.6282, allocations: 101 kB / 1.492 GB, free: 6.09 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.658e-05/0.6282, allocations: 112.9 kB / 1.492 GB, free: 5.973 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.69e-05/0.6283, allocations: 180.3 kB / 1.493 GB, free: 5.789 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.56e-05/0.6284, allocations: 176.4 kB / 1.493 GB, free: 5.609 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.735e-05/0.6285, allocations: 188.1 kB / 1.493 GB, free: 5.418 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.577e-05/0.6286, allocations: 176.3 kB / 1.493 GB, free: 5.238 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002099/0.6288, allocations: 335.5 kB / 1.493 GB, free: 4.887 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.6289, allocations: 136.8 kB / 1.493 GB, free: 4.746 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.629, allocations: 180.2 kB / 1.494 GB, free: 4.562 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.6291, allocations: 101 kB / 1.494 GB, free: 4.457 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.6292, allocations: 192.2 kB / 1.494 GB, free: 4.262 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.096e-05/0.6293, allocations: 105 kB / 1.494 GB, free: 4.152 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002823/0.6296, allocations: 267.2 kB / 1.494 GB, free: 3.895 MB / 1.186 GB Notification: Performance of sort global known variables: time 9e-08/0.6296, allocations: 3.938 kB / 1.494 GB, free: 3.891 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.000268/0.6298, allocations: 32 kB / 1.494 GB, free: 3.859 MB / 1.186 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.0004964/0.6303, allocations: 0.8319 MB / 1.495 GB, free: 2.996 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 7.381e-05/0.6304, allocations: 19.92 kB / 1.495 GB, free: 2.977 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.6304, allocations: 320 / 1.495 GB, free: 2.977 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.6304, allocations: 4 kB / 1.495 GB, free: 2.973 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008577/0.6313, allocations: 0.5536 MB / 1.496 GB, free: 2.418 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002948/0.6342, allocations: 2.687 MB / 1.498 GB, free: 15.63 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001489/0.6344, allocations: 150.1 kB / 1.498 GB, free: 15.46 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 9.367e-05/0.6345, allocations: 34.97 kB / 1.498 GB, free: 15.43 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001124/0.6346, allocations: 79.41 kB / 1.499 GB, free: 15.35 MB / 1.201 GB Notification: Performance of SimCode: time 3.3e-07/0.6346, allocations: 0 / 1.499 GB, free: 15.35 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03516/0.6697, allocations: 6.896 MB / 1.505 GB, free: 8.672 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/12, allocations: 4.609 kB / 1.505 GB, free: 8.668 MB / 1.201 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 420.0] 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/jenkins1/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: 18.65010111601441]