Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.001731/0.001731, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002233/0.002233, allocations: 216.7 kB / 23.04 MB, free: 5.074 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.516/1.516, allocations: 230.6 MB / 256.8 MB, free: 7.969 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.139/3.139, allocations: 0.49 GB / 0.7959 GB, free: 33.3 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.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",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.002031/0.002031, allocations: 66.31 kB / 1.155 GB, free: 25.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/0.356, allocations: 176.1 MB / 1.327 GB, free: 1.945 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2097/0.5656, allocations: 174.1 MB / 1.497 GB, free: 3.207 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007891/0.5735, allocations: 6.11 MB / 1.503 GB, free: 13.08 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004664/0.574, allocations: 7.938 kB / 1.503 GB, free: 13.07 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.0007815/0.5748, allocations: 186.7 kB / 1.503 GB, free: 12.89 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.0004848/0.5752, allocations: 99.38 kB / 1.503 GB, free: 12.79 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.001521/0.5768, allocations: 0.5528 MB / 1.503 GB, free: 12.23 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0006687/0.5774, allocations: 406.8 kB / 1.504 GB, free: 11.84 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002901/0.5777, allocations: 96.2 kB / 1.504 GB, free: 11.73 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004154/0.5781, allocations: 191.2 kB / 1.504 GB, free: 11.55 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003118/0.5785, allocations: 159.3 kB / 1.504 GB, free: 11.39 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 4.123e-05/0.5785, allocations: 16 kB / 1.504 GB, free: 11.38 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000985/0.5795, allocations: 0.4987 MB / 1.505 GB, free: 10.88 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0001264/0.5796, allocations: 75.75 kB / 1.505 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.00013/0.5797, allocations: 107.5 kB / 1.505 GB, free: 10.7 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.000872/0.5806, allocations: 478.2 kB / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5806, allocations: 0 / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.743e-06/0.5806, allocations: 0 / 1.505 GB, free: 10.23 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.5806, allocations: 3.938 kB / 1.505 GB, free: 10.22 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.0007268/0.5814, allocations: 461.3 kB / 1.506 GB, free: 9.742 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.5814, allocations: 8.031 kB / 1.506 GB, free: 9.734 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.61e-05/0.5814, allocations: 12.44 kB / 1.506 GB, free: 9.723 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.087e-05/0.5815, allocations: 62.55 kB / 1.506 GB, free: 9.652 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.5818, allocations: 39.84 kB / 1.506 GB, free: 9.613 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.5822, allocations: 204.7 kB / 1.506 GB, free: 9.387 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002246/0.5824, allocations: 242 kB / 1.506 GB, free: 9.098 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.844e-05/0.5825, allocations: 31.94 kB / 1.506 GB, free: 9.066 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.583, allocations: 286 kB / 1.507 GB, free: 8.75 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.583, allocations: 4 kB / 1.507 GB, free: 8.746 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.69e-05/0.583, allocations: 12 kB / 1.507 GB, free: 8.734 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.583, allocations: 4 kB / 1.507 GB, free: 8.73 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003299/0.5833, allocations: 164.6 kB / 1.507 GB, free: 8.57 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001602/0.5849, allocations: 1.548 MB / 1.508 GB, free: 6.941 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001303/0.5851, allocations: 173.1 kB / 1.509 GB, free: 6.762 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.17e-05/0.5851, allocations: 80.14 kB / 1.509 GB, free: 6.68 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.947e-05/0.5852, allocations: 75.28 kB / 1.509 GB, free: 6.605 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.767e-05/0.5852, allocations: 109.8 kB / 1.509 GB, free: 6.488 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.523e-06/0.5852, allocations: 0 / 1.509 GB, free: 6.488 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001389/0.5854, allocations: 57.5 kB / 1.509 GB, free: 6.426 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.881e-05/0.5855, allocations: 134.7 kB / 1.509 GB, free: 6.281 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004019/0.5859, allocations: 301.8 kB / 1.509 GB, free: 5.973 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.7e-05/0.5859, allocations: 25.7 kB / 1.509 GB, free: 5.941 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.586, allocations: 195.6 kB / 1.509 GB, free: 5.746 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.586, allocations: 4 kB / 1.509 GB, free: 5.742 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-05/0.5861, allocations: 45.66 kB / 1.51 GB, free: 5.691 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.5863, allocations: 330.8 kB / 1.51 GB, free: 5.359 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.57e-05/0.5864, allocations: 39.97 kB / 1.51 GB, free: 5.32 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.5866, allocations: 158.3 kB / 1.51 GB, free: 5.105 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002875/0.5869, allocations: 196.9 kB / 1.51 GB, free: 4.852 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5869, allocations: 0 / 1.51 GB, free: 4.852 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004885/0.5874, allocations: 225 kB / 1.51 GB, free: 4.625 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.5874, allocations: 4 kB / 1.51 GB, free: 4.621 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/0.5874, allocations: 8.625 kB / 1.51 GB, free: 4.613 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.5874, allocations: 4 kB / 1.51 GB, free: 4.609 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001716/0.5876, allocations: 43.92 kB / 1.51 GB, free: 4.566 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.338e-05/0.5876, allocations: 15.92 kB / 1.511 GB, free: 4.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000186/0.5878, allocations: 31.73 kB / 1.511 GB, free: 4.52 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.5878, allocations: 12 kB / 1.511 GB, free: 4.508 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001779/0.588, allocations: 217.5 kB / 1.511 GB, free: 4.285 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.555e-05/0.5881, allocations: 128.8 kB / 1.511 GB, free: 4.152 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.35e-05/0.5882, allocations: 129.6 kB / 1.511 GB, free: 4.02 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.505e-05/0.5883, allocations: 192.2 kB / 1.511 GB, free: 3.824 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.411e-05/0.5883, allocations: 176.3 kB / 1.511 GB, free: 3.645 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-05/0.5884, allocations: 180.3 kB / 1.512 GB, free: 3.461 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.5888, allocations: 456.1 kB / 1.512 GB, free: 2.965 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.76e-05/0.5889, allocations: 101 kB / 1.512 GB, free: 2.859 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.329e-05/0.5889, allocations: 112.9 kB / 1.512 GB, free: 2.742 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.401e-05/0.589, allocations: 180.2 kB / 1.512 GB, free: 2.559 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.943e-05/0.5891, allocations: 188.3 kB / 1.513 GB, free: 2.367 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.729e-05/0.5892, allocations: 180.2 kB / 1.513 GB, free: 2.184 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.391e-05/0.5893, allocations: 176.3 kB / 1.513 GB, free: 2.004 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.5895, allocations: 331.6 kB / 1.513 GB, free: 1.656 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5896, allocations: 128.8 kB / 1.513 GB, free: 1.523 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.5897, allocations: 180.2 kB / 1.513 GB, free: 1.34 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.5898, allocations: 105 kB / 1.514 GB, free: 1.23 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.032e-05/0.5899, allocations: 184.2 kB / 1.514 GB, free: 1.043 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.837e-05/0.59, allocations: 105 kB / 1.514 GB, free: 0.9336 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002637/0.5903, allocations: 225.2 kB / 1.514 GB, free: 0.7188 MB / 1.201 GB Notification: Performance of sort global known variables: time 7.1e-08/0.5903, allocations: 0 / 1.514 GB, free: 0.7188 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0004079/0.5907, allocations: 51.89 kB / 1.514 GB, free: 0.668 MB / 1.201 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.000641/0.5913, allocations: 0.8553 MB / 1.515 GB, free: 15.78 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.0002263/0.5915, allocations: 80.66 kB / 1.515 GB, free: 15.7 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5915, allocations: 0 / 1.515 GB, free: 15.7 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 1.863e-06/0.5915, allocations: 0 / 1.515 GB, free: 15.7 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005767/0.5921, allocations: 487.4 kB / 1.515 GB, free: 15.23 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003061/0.5952, allocations: 2.51 MB / 1.518 GB, free: 12.52 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003875/0.5956, allocations: 0.7398 MB / 1.519 GB, free: 11.75 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0001376/0.5957, allocations: 41.86 kB / 1.519 GB, free: 11.71 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.5958, allocations: 51.42 kB / 1.519 GB, free: 11.66 MB / 1.217 GB Notification: Performance of SimCode: time 6.12e-07/0.5958, allocations: 0 / 1.519 GB, free: 11.66 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02529/0.6211, allocations: 4.258 MB / 1.523 GB, free: 7.559 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/12.02, allocations: 11 kB / 1.523 GB, free: 7.551 MB / 1.217 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.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.76673487399239]