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.001335/0.001335, 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.001546/0.001546, allocations: 211.8 kB / 22.25 MB, free: 5.121 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.484/1.484, allocations: 230.6 MB / 256 MB, free: 7.957 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.204/3.204, allocations: 0.49 GB / 0.7951 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 176] 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.002021/0.002021, allocations: 66.64 kB / 1.154 GB, free: 25.69 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3715/0.3735, allocations: 176.1 MB / 1.326 GB, free: 1.898 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2156/0.5892, allocations: 177.8 MB / 1.5 GB, free: 15.44 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.01101/0.6002, allocations: 9.658 MB / 1.509 GB, free: 5.75 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003638/0.6005, allocations: 11.88 kB / 1.509 GB, free: 5.738 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0006309/0.6012, allocations: 194.6 kB / 1.509 GB, free: 5.547 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0002772/0.6014, allocations: 103.3 kB / 1.509 GB, free: 5.445 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.6016, allocations: 63.86 kB / 1.509 GB, free: 5.383 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0004454/0.6021, allocations: 330.6 kB / 1.51 GB, free: 5.059 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003189/0.6024, allocations: 141.2 kB / 1.51 GB, free: 4.918 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.6028, allocations: 171.4 kB / 1.51 GB, free: 4.75 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001781/0.603, allocations: 135.3 kB / 1.51 GB, free: 4.617 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 3.169e-05/0.603, allocations: 20 kB / 1.51 GB, free: 4.598 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 4.132e-05/0.603, allocations: 24 kB / 1.51 GB, free: 4.574 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 9.603e-05/0.6031, allocations: 71.77 kB / 1.51 GB, free: 4.504 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0001359/0.6033, allocations: 123.4 kB / 1.51 GB, free: 4.383 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.0003663/0.6036, allocations: 302.6 kB / 1.511 GB, free: 4.086 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.6036, allocations: 0 / 1.511 GB, free: 4.086 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6036, allocations: 0 / 1.511 GB, free: 4.086 MB / 1.201 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.6037, allocations: 3.938 kB / 1.511 GB, free: 4.082 MB / 1.201 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.0006474/0.6043, allocations: 449.6 kB / 1.511 GB, free: 3.613 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.6043, allocations: 12.03 kB / 1.511 GB, free: 3.602 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.323e-05/0.6044, allocations: 66.53 kB / 1.511 GB, free: 3.527 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.6045, allocations: 39.69 kB / 1.511 GB, free: 3.488 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004265/0.6049, allocations: 206.6 kB / 1.511 GB, free: 3.262 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.592e-05/0.6049, allocations: 20.66 kB / 1.511 GB, free: 3.242 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.548e-05/0.605, allocations: 31.98 kB / 1.511 GB, free: 3.211 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005077/0.6055, allocations: 334.1 kB / 1.512 GB, free: 2.84 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.6055, allocations: 0 / 1.512 GB, free: 2.84 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.6055, allocations: 12 kB / 1.512 GB, free: 2.828 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.92e-05/0.6055, allocations: 11.94 kB / 1.512 GB, free: 2.816 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002252/0.6058, allocations: 135.8 kB / 1.512 GB, free: 2.684 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001545/0.6073, allocations: 1.788 MB / 1.514 GB, free: 0.8047 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.6074, allocations: 165.1 kB / 1.514 GB, free: 0.6328 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.266e-05/0.6074, allocations: 88.08 kB / 1.514 GB, free: 0.543 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.776e-05/0.6075, allocations: 75.28 kB / 1.514 GB, free: 480 kB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.937e-05/0.6075, allocations: 109.8 kB / 1.514 GB, free: 360 kB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.6075, allocations: 0 / 1.514 GB, free: 360 kB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001092/0.6077, allocations: 57.45 kB / 1.514 GB, free: 296 kB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.364e-05/0.6077, allocations: 130.7 kB / 1.514 GB, free: 152 kB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.6082, allocations: 369.7 kB / 1.515 GB, free: 15.78 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 1.977e-05/0.6082, allocations: 29.7 kB / 1.515 GB, free: 15.75 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.6083, allocations: 167.9 kB / 1.515 GB, free: 15.58 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 3.126e-06/0.6083, allocations: 4 kB / 1.515 GB, free: 15.57 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.841e-05/0.6084, allocations: 17.72 kB / 1.515 GB, free: 15.55 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.6086, allocations: 338.8 kB / 1.515 GB, free: 15.21 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.673e-05/0.6086, allocations: 4 kB / 1.515 GB, free: 15.21 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.824e-05/0.6086, allocations: 36.28 kB / 1.515 GB, free: 15.16 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.339e-05/0.6087, allocations: 44.23 kB / 1.515 GB, free: 15.1 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6087, allocations: 0 / 1.515 GB, free: 15.1 MB / 1.217 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000169/0.6088, allocations: 93.31 kB / 1.515 GB, free: 15 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.6089, allocations: 8.156 kB / 1.515 GB, free: 14.99 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.6089, allocations: 4 kB / 1.515 GB, free: 14.99 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.6089, allocations: 0 / 1.515 GB, free: 14.99 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.814e-05/0.609, allocations: 8 kB / 1.515 GB, free: 14.98 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.609, allocations: 7.922 kB / 1.515 GB, free: 14.97 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.842e-05/0.609, allocations: 31.73 kB / 1.515 GB, free: 14.94 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.807e-06/0.6091, allocations: 4 kB / 1.515 GB, free: 14.94 MB / 1.217 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.0001521/0.6092, allocations: 205.7 kB / 1.516 GB, free: 14.73 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.19e-05/0.6093, allocations: 140.8 kB / 1.516 GB, free: 14.58 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.521e-05/0.6094, allocations: 130.8 kB / 1.516 GB, free: 14.45 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.122e-05/0.6095, allocations: 180.3 kB / 1.516 GB, free: 14.26 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.144e-05/0.6096, allocations: 184.2 kB / 1.516 GB, free: 14.07 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.476e-05/0.6096, allocations: 184.4 kB / 1.516 GB, free: 13.89 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003637/0.61, allocations: 472.1 kB / 1.517 GB, free: 13.38 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.904e-05/0.6101, allocations: 108.9 kB / 1.517 GB, free: 13.26 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.276e-05/0.6101, allocations: 101 kB / 1.517 GB, free: 13.16 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.744e-05/0.6102, allocations: 176.3 kB / 1.517 GB, free: 12.98 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.314e-05/0.6103, allocations: 188.3 kB / 1.517 GB, free: 12.79 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.984e-05/0.6103, allocations: 180.2 kB / 1.517 GB, free: 12.6 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.824e-05/0.6104, allocations: 188.2 kB / 1.518 GB, free: 12.41 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.6106, allocations: 335.5 kB / 1.518 GB, free: 12.06 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.6107, allocations: 132.8 kB / 1.518 GB, free: 11.92 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.6108, allocations: 180.3 kB / 1.518 GB, free: 11.74 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.6109, allocations: 108.9 kB / 1.518 GB, free: 11.62 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.611, allocations: 180.3 kB / 1.519 GB, free: 11.44 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.263e-05/0.6111, allocations: 104.9 kB / 1.519 GB, free: 11.33 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.000284/0.6114, allocations: 271.2 kB / 1.519 GB, free: 11.07 MB / 1.217 GB Notification: Performance of sort global known variables: time 7e-08/0.6114, allocations: 0 / 1.519 GB, free: 11.07 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.000253/0.6116, allocations: 28 kB / 1.519 GB, free: 11.04 MB / 1.217 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.0005383/0.6122, allocations: 0.8417 MB / 1.52 GB, free: 10.17 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 9.102e-05/0.6122, allocations: 19.94 kB / 1.52 GB, free: 10.15 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.6122, allocations: 0 / 1.52 GB, free: 10.15 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.513e-06/0.6122, allocations: 0 / 1.52 GB, free: 10.15 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008695/0.6131, allocations: 0.557 MB / 1.52 GB, free: 9.59 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00306/0.6162, allocations: 2.687 MB / 1.523 GB, free: 6.805 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.6166, allocations: 0.7557 MB / 1.524 GB, free: 6.023 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001209/0.6167, allocations: 30.97 kB / 1.524 GB, free: 5.992 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.6169, allocations: 75.41 kB / 1.524 GB, free: 5.918 MB / 1.217 GB Notification: Performance of SimCode: time 2.91e-07/0.6169, allocations: 0 / 1.524 GB, free: 5.918 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03481/0.6517, allocations: 6.042 MB / 1.53 GB, free: 64 kB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.41, allocations: 10.11 kB / 1.53 GB, free: 56 kB / 1.217 GB " [Timeout remaining time 287] (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: 19.090761912986636]