Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001032/0.001032, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.001001/0.001001, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8918/0.8918, allocations: 177.1 MB / 202.8 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.753/1.753, allocations: 389 MB / 0.633 GB, free: 12.66 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.329e-05/2.491e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.6045/0.6045, allocations: 153.6 MB / 1.15 GB, free: 3.711 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.008085/0.6126, allocations: 8.613 MB / 1.158 GB, free: 13.93 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000243/0.6128, allocations: 11.56 kB / 1.158 GB, free: 13.92 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.0005607/0.6134, allocations: 198 kB / 1.158 GB, free: 13.79 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.000232/0.6136, allocations: 98.88 kB / 1.158 GB, free: 13.72 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.6138, allocations: 73.09 kB / 1.158 GB, free: 13.68 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.6142, allocations: 341.3 kB / 1.159 GB, free: 13.51 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000285/0.6145, allocations: 126.2 kB / 1.159 GB, free: 13.45 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003966/0.6149, allocations: 232.2 kB / 1.159 GB, free: 13.35 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001193/0.615, allocations: 91.5 kB / 1.159 GB, free: 13.32 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.615, allocations: 21.41 kB / 1.159 GB, free: 13.32 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 2.889e-05/0.6151, allocations: 21.75 kB / 1.159 GB, free: 13.32 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 8.341e-05/0.6151, allocations: 75.06 kB / 1.159 GB, free: 13.28 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 8.352e-05/0.6152, allocations: 83.75 kB / 1.159 GB, free: 13.25 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0003193/0.6155, allocations: 297.4 kB / 1.16 GB, free: 13.12 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.6155, allocations: 0 / 1.16 GB, free: 13.12 MB / 1.026 GB Notification: Performance of FrontEnd: time 1.573e-06/0.6155, allocations: 0.8438 kB / 1.16 GB, free: 13.12 MB / 1.026 GB Notification: Performance of Transformations before backend: time 8.597e-06/0.6156, allocations: 0.75 kB / 1.16 GB, free: 13.12 MB / 1.026 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.0004436/0.616, allocations: 455 kB / 1.16 GB, free: 12.74 MB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.295e-05/0.616, allocations: 11.62 kB / 1.16 GB, free: 12.74 MB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.458e-05/0.6161, allocations: 61.44 kB / 1.16 GB, free: 12.68 MB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.268e-05/0.6161, allocations: 34.81 kB / 1.16 GB, free: 12.66 MB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.6165, allocations: 224.2 kB / 1.16 GB, free: 12.48 MB / 1.026 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.6165, allocations: 23.38 kB / 1.16 GB, free: 12.46 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.6165, allocations: 25.69 kB / 1.16 GB, free: 12.46 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003684/0.6169, allocations: 322.3 kB / 1.161 GB, free: 12.24 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.6169, allocations: 5.062 kB / 1.161 GB, free: 12.24 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.6169, allocations: 11.5 kB / 1.161 GB, free: 12.23 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/0.6169, allocations: 7.766 kB / 1.161 GB, free: 12.23 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000172/0.6171, allocations: 142.2 kB / 1.161 GB, free: 12.18 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009818/0.6181, allocations: 1.737 MB / 1.163 GB, free: 10.59 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.6182, allocations: 168.8 kB / 1.163 GB, free: 10.42 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.339e-05/0.6183, allocations: 83.52 kB / 1.163 GB, free: 10.34 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.6183, allocations: 76.69 kB / 1.163 GB, free: 10.26 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.588e-05/0.6183, allocations: 111.8 kB / 1.163 GB, free: 10.14 MB / 1.026 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.6183, allocations: 112 / 1.163 GB, free: 10.14 MB / 1.026 GB Notification: Performance of matching and sorting (n=0): time 7.775e-05/0.6184, allocations: 58.69 kB / 1.163 GB, free: 10.09 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.6184, allocations: 127.9 kB / 1.163 GB, free: 9.957 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003153/0.6188, allocations: 381.3 kB / 1.164 GB, free: 9.766 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.6188, allocations: 29.7 kB / 1.164 GB, free: 9.73 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 9.524e-05/0.6189, allocations: 165.2 kB / 1.164 GB, free: 9.59 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-06/0.6189, allocations: 0 / 1.164 GB, free: 9.59 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.619e-05/0.6189, allocations: 19.08 kB / 1.164 GB, free: 9.57 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 8.629e-05/0.619, allocations: 338.8 kB / 1.164 GB, free: 9.246 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/0.619, allocations: 3.531 kB / 1.164 GB, free: 9.246 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.444e-05/0.619, allocations: 40.48 kB / 1.164 GB, free: 9.199 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.527e-05/0.6191, allocations: 50.69 kB / 1.164 GB, free: 9.145 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.033e-06/0.6191, allocations: 0 / 1.164 GB, free: 9.145 MB / 1.026 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000123/0.6192, allocations: 88.47 kB / 1.164 GB, free: 9.086 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.6192, allocations: 5.312 kB / 1.164 GB, free: 9.086 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6192, allocations: 6.766 kB / 1.164 GB, free: 9.082 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.6192, allocations: 1.094 kB / 1.164 GB, free: 9.082 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.606e-05/0.6193, allocations: 12.45 kB / 1.164 GB, free: 9.078 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6193, allocations: 3.031 kB / 1.164 GB, free: 9.078 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.6193, allocations: 30.78 kB / 1.164 GB, free: 9.055 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.6193, allocations: 5.953 kB / 1.164 GB, free: 9.055 MB / 1.026 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 9.323e-05/0.6194, allocations: 210.1 kB / 1.165 GB, free: 8.855 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.197e-05/0.6195, allocations: 135.4 kB / 1.165 GB, free: 8.73 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.775e-05/0.6195, allocations: 138.1 kB / 1.165 GB, free: 8.602 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.91e-05/0.6196, allocations: 178.2 kB / 1.165 GB, free: 8.422 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-05/0.6196, allocations: 182 kB / 1.165 GB, free: 8.238 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-05/0.6197, allocations: 178.5 kB / 1.165 GB, free: 8.059 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.6199, allocations: 454 kB / 1.166 GB, free: 7.621 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.388e-05/0.6199, allocations: 102.8 kB / 1.166 GB, free: 7.516 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.328e-05/0.6199, allocations: 106.5 kB / 1.166 GB, free: 7.406 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.199e-05/0.62, allocations: 181.9 kB / 1.166 GB, free: 7.223 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.262e-05/0.62, allocations: 181.8 kB / 1.166 GB, free: 7.039 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-05/0.6201, allocations: 183.2 kB / 1.166 GB, free: 6.855 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-05/0.6201, allocations: 183.2 kB / 1.167 GB, free: 6.672 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.6202, allocations: 333.7 kB / 1.167 GB, free: 6.34 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 6.706e-05/0.6203, allocations: 138.9 kB / 1.167 GB, free: 6.211 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.508e-05/0.6203, allocations: 186.9 kB / 1.167 GB, free: 6.023 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.382e-05/0.6204, allocations: 107.2 kB / 1.167 GB, free: 5.914 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.6204, allocations: 186.7 kB / 1.168 GB, free: 5.727 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.301e-05/0.6205, allocations: 105.5 kB / 1.168 GB, free: 5.617 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0002161/0.6207, allocations: 271.5 kB / 1.168 GB, free: 5.48 MB / 1.026 GB Notification: Performance of sort global known variables: time 5e-08/0.6207, allocations: 0 / 1.168 GB, free: 5.48 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0001773/0.6209, allocations: 28.09 kB / 1.168 GB, free: 5.48 MB / 1.026 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.0002858/0.6211, allocations: 0.8247 MB / 1.169 GB, free: 4.664 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 7.711e-05/0.6212, allocations: 22.41 kB / 1.169 GB, free: 4.652 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.6212, allocations: 0 / 1.169 GB, free: 4.652 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 2.475e-06/0.6212, allocations: 5.438 kB / 1.169 GB, free: 4.648 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005419/0.6218, allocations: 0.5524 MB / 1.169 GB, free: 4.176 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002374/0.6241, allocations: 2.713 MB / 1.172 GB, free: 2.328 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001298/0.6243, allocations: 145 kB / 1.172 GB, free: 2.242 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 9.533e-05/0.6244, allocations: 30.06 kB / 1.172 GB, free: 2.234 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.777e-05/0.6244, allocations: 78.47 kB / 1.172 GB, free: 2.176 MB / 1.026 GB Notification: Performance of SimCode: time 6.31e-07/0.6244, allocations: 0 / 1.172 GB, free: 2.176 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0211/0.6455, allocations: 6.982 MB / 1.179 GB, free: 0.8086 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/7.554, allocations: 5 kB / 1.179 GB, free: 0.8047 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirMoistAirCO2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.664089376106858]