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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 114.3 kB / 17.96 MB, free: 3.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 193.5 kB / 21.22 MB, free: 0.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 225.6 MB / 249.9 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.691/2.691, allocations: 476.7 MB / 0.7635 GB, free: 10.14 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00226/0.00226, allocations: 71.88 kB / 1.108 GB, free: 7.188 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7415/0.7437, allocations: 168.7 MB / 1.272 GB, free: 4.367 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.2204/0.9641, allocations: 174.9 MB / 1.443 GB, free: 4.848 MB / 1.139 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.9749, allocations: 9.647 MB / 1.453 GB, free: 11.16 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002897/0.9752, allocations: 11.94 kB / 1.453 GB, free: 11.15 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 0.0005834/0.9758, allocations: 194.6 kB / 1.453 GB, free: 10.96 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.0002614/0.976, allocations: 95.36 kB / 1.453 GB, free: 10.87 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.9762, allocations: 75.73 kB / 1.453 GB, free: 10.79 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0004025/0.9766, allocations: 322.7 kB / 1.453 GB, free: 10.48 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003106/0.9769, allocations: 136.9 kB / 1.453 GB, free: 10.35 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003632/0.9773, allocations: 163.4 kB / 1.454 GB, free: 10.19 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001712/0.9774, allocations: 131.3 kB / 1.454 GB, free: 10.06 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 3.241e-05/0.9775, allocations: 20 kB / 1.454 GB, free: 10.04 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 4.608e-05/0.9775, allocations: 28 kB / 1.454 GB, free: 10.01 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 9.942e-05/0.9776, allocations: 75.75 kB / 1.454 GB, free: 9.938 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.9778, allocations: 131.3 kB / 1.454 GB, free: 9.809 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003654/0.9781, allocations: 290.6 kB / 1.454 GB, free: 9.523 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.9781, allocations: 0 / 1.454 GB, free: 9.523 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.492e-06/0.9781, allocations: 0 / 1.454 GB, free: 9.523 MB / 1.154 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.9781, allocations: 0 / 1.454 GB, free: 9.523 MB / 1.154 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.0006092/0.9787, allocations: 0.522 MB / 1.455 GB, free: 8.953 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.9788, allocations: 12.03 kB / 1.455 GB, free: 8.941 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.897e-05/0.9789, allocations: 62.55 kB / 1.455 GB, free: 8.871 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.578e-05/0.9789, allocations: 35.75 kB / 1.455 GB, free: 8.836 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004294/0.9794, allocations: 270.6 kB / 1.455 GB, free: 8.531 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.073e-05/0.9794, allocations: 24.56 kB / 1.455 GB, free: 8.504 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.644e-05/0.9794, allocations: 24 kB / 1.455 GB, free: 8.48 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004995/0.9799, allocations: 320 kB / 1.455 GB, free: 8.125 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.9799, allocations: 7.938 kB / 1.455 GB, free: 8.117 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.604e-05/0.98, allocations: 12 kB / 1.455 GB, free: 8.105 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/0.98, allocations: 15.88 kB / 1.455 GB, free: 8.09 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002283/0.9802, allocations: 139.8 kB / 1.456 GB, free: 7.953 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.9819, allocations: 1.816 MB / 1.457 GB, free: 6.039 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/0.982, allocations: 169.1 kB / 1.458 GB, free: 5.863 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.872e-05/0.9821, allocations: 88.08 kB / 1.458 GB, free: 5.773 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 3.779e-05/0.9821, allocations: 75.28 kB / 1.458 GB, free: 5.699 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.209e-05/0.9822, allocations: 113.8 kB / 1.458 GB, free: 5.578 MB / 1.154 GB Notification: Performance of pre-optimization done (n=0): time 1.092e-06/0.9822, allocations: 3.938 kB / 1.458 GB, free: 5.574 MB / 1.154 GB Notification: Performance of matching and sorting (n=0): time 0.0001028/0.9823, allocations: 53.52 kB / 1.458 GB, free: 5.516 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.884e-05/0.9823, allocations: 130.6 kB / 1.458 GB, free: 5.375 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004875/0.9828, allocations: 373.7 kB / 1.458 GB, free: 5.004 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/0.9828, allocations: 25.7 kB / 1.458 GB, free: 4.973 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001434/0.983, allocations: 171.9 kB / 1.459 GB, free: 4.801 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 3.626e-06/0.983, allocations: 0 / 1.459 GB, free: 4.801 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.983, allocations: 25.67 kB / 1.459 GB, free: 4.77 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.9832, allocations: 338.8 kB / 1.459 GB, free: 4.43 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.288e-05/0.9832, allocations: 32 / 1.459 GB, free: 4.43 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.793e-05/0.9832, allocations: 44.28 kB / 1.459 GB, free: 4.371 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.261e-05/0.9833, allocations: 48.17 kB / 1.459 GB, free: 4.309 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.9833, allocations: 0 / 1.459 GB, free: 4.309 MB / 1.154 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001564/0.9835, allocations: 89.42 kB / 1.459 GB, free: 4.215 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.9835, allocations: 4 kB / 1.459 GB, free: 4.211 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.9835, allocations: 0 / 1.459 GB, free: 4.211 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.9835, allocations: 8.156 kB / 1.459 GB, free: 4.203 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.314e-05/0.9836, allocations: 11.94 kB / 1.459 GB, free: 4.191 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.9836, allocations: 0 / 1.459 GB, free: 4.191 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.705e-05/0.9836, allocations: 31.72 kB / 1.459 GB, free: 4.16 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.9836, allocations: 4.109 kB / 1.459 GB, free: 4.156 MB / 1.154 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.0001449/0.9838, allocations: 209.1 kB / 1.459 GB, free: 3.941 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.826e-05/0.9839, allocations: 136.7 kB / 1.459 GB, free: 3.801 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.816e-05/0.984, allocations: 134.9 kB / 1.46 GB, free: 3.664 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.268e-05/0.984, allocations: 180.3 kB / 1.46 GB, free: 3.48 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.221e-05/0.9841, allocations: 180.2 kB / 1.46 GB, free: 3.297 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.294e-05/0.9842, allocations: 184.2 kB / 1.46 GB, free: 3.109 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003843/0.9846, allocations: 493 kB / 1.461 GB, free: 2.57 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.314e-05/0.9846, allocations: 104.9 kB / 1.461 GB, free: 2.461 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.9847, allocations: 109 kB / 1.461 GB, free: 2.348 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.846e-05/0.9848, allocations: 184.2 kB / 1.461 GB, free: 2.16 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.539e-05/0.9849, allocations: 176.3 kB / 1.461 GB, free: 1.98 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.625e-05/0.9849, allocations: 180.2 kB / 1.461 GB, free: 1.797 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.922e-05/0.985, allocations: 184.2 kB / 1.461 GB, free: 1.609 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/0.9852, allocations: 339.5 kB / 1.462 GB, free: 1.254 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001411/0.9854, allocations: 209.9 kB / 1.462 GB, free: 1.023 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.9855, allocations: 180.5 kB / 1.462 GB, free: 0.8398 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001231/0.9856, allocations: 105 kB / 1.462 GB, free: 0.7305 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.779e-05/0.9857, allocations: 176.4 kB / 1.462 GB, free: 0.5508 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.856e-05/0.9857, allocations: 120.9 kB / 1.463 GB, free: 436 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0002983/0.986, allocations: 271.2 kB / 1.463 GB, free: 164 kB / 1.154 GB Notification: Performance of sort global known variables: time 1.1e-07/0.986, allocations: 0 / 1.463 GB, free: 164 kB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002724/0.9863, allocations: 31.94 kB / 1.463 GB, free: 132 kB / 1.154 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.0005368/0.9869, allocations: 0.8402 MB / 1.464 GB, free: 15.26 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 8.769e-05/0.9869, allocations: 15.94 kB / 1.464 GB, free: 15.24 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.9869, allocations: 0 / 1.464 GB, free: 15.24 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 4.338e-06/0.987, allocations: 4 kB / 1.464 GB, free: 15.24 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008305/0.9878, allocations: 0.545 MB / 1.464 GB, free: 14.69 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00305/0.9908, allocations: 2.691 MB / 1.467 GB, free: 11.9 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003946/0.9912, allocations: 0.7557 MB / 1.468 GB, free: 11.12 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.0001238/0.9913, allocations: 34.95 kB / 1.468 GB, free: 11.09 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.974e-05/0.9914, allocations: 75.41 kB / 1.468 GB, free: 11.01 MB / 1.17 GB Notification: Performance of SimCode: time 8.32e-07/0.9914, allocations: 0 / 1.468 GB, free: 11.01 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03082/1.022, allocations: 5.924 MB / 1.473 GB, free: 5.227 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.511/9.533, allocations: 3.781 kB / 1.473 GB, free: 5.227 MB / 1.17 GB " [Timeout remaining time 290] (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_2/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: 15.444795554038137]