Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.001267/0.001267, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001386/0.001386, allocations: 224.5 kB / 23.03 MB, free: 4.945 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.459/1.459, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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 3.242/3.242, allocations: 0.5003 GB / 0.8062 GB, free: 28.27 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2",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.002134/0.002134, allocations: 67.38 kB / 1.171 GB, free: 19.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3908, allocations: 179 MB / 1.345 GB, free: 15.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2): time 0.1808/0.5715, allocations: 130.7 MB / 1.473 GB, free: 12.73 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.005856/0.5774, allocations: 4.357 MB / 1.477 GB, free: 8.359 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003929/0.5778, allocations: 11.94 kB / 1.477 GB, free: 8.348 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.0006651/0.5784, allocations: 174.8 kB / 1.477 GB, free: 8.176 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.0004615/0.5789, allocations: 87.44 kB / 1.477 GB, free: 8.09 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002276/0.5791, allocations: 63.92 kB / 1.478 GB, free: 8.027 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.0005295/0.5797, allocations: 302.6 kB / 1.478 GB, free: 7.73 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.5799, allocations: 108.5 kB / 1.478 GB, free: 7.625 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002747/0.5802, allocations: 115.5 kB / 1.478 GB, free: 7.512 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002506/0.5805, allocations: 159.4 kB / 1.478 GB, free: 7.355 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 4.028e-05/0.5805, allocations: 16 kB / 1.478 GB, free: 7.34 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 4.444e-05/0.5806, allocations: 16 kB / 1.478 GB, free: 7.324 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.5806, allocations: 63.83 kB / 1.478 GB, free: 7.262 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.0001181/0.5808, allocations: 87.55 kB / 1.478 GB, free: 7.176 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.0003092/0.5811, allocations: 234.9 kB / 1.479 GB, free: 6.945 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.5811, allocations: 3.938 kB / 1.479 GB, free: 6.941 MB / 1.17 GB Notification: Performance of FrontEnd: time 1.252e-06/0.5811, allocations: 0 / 1.479 GB, free: 6.941 MB / 1.17 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.5811, allocations: 0 / 1.479 GB, free: 6.941 MB / 1.17 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 54 * Number of variables: 54 Notification: Performance of Generate backend data structure: time 0.0005328/0.5816, allocations: 425.7 kB / 1.479 GB, free: 6.496 MB / 1.17 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.5817, allocations: 16.03 kB / 1.479 GB, free: 6.48 MB / 1.17 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.802e-05/0.5817, allocations: 4.625 kB / 1.479 GB, free: 6.477 MB / 1.17 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.806e-05/0.5817, allocations: 54.73 kB / 1.479 GB, free: 6.414 MB / 1.17 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.195e-05/0.5818, allocations: 24.8 kB / 1.479 GB, free: 6.391 MB / 1.17 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.5822, allocations: 207.5 kB / 1.479 GB, free: 6.164 MB / 1.17 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.094e-05/0.5822, allocations: 20.81 kB / 1.479 GB, free: 6.145 MB / 1.17 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.5822, allocations: 24.12 kB / 1.479 GB, free: 6.121 MB / 1.17 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.5827, allocations: 304.9 kB / 1.48 GB, free: 5.766 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.677e-05/0.5827, allocations: 7.938 kB / 1.48 GB, free: 5.758 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.293e-05/0.5827, allocations: 15.94 kB / 1.48 GB, free: 5.742 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.144e-05/0.5827, allocations: 8 kB / 1.48 GB, free: 5.734 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001951/0.5829, allocations: 119.8 kB / 1.48 GB, free: 5.617 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001447/0.5844, allocations: 1.9 MB / 1.482 GB, free: 3.617 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.5845, allocations: 165.1 kB / 1.482 GB, free: 3.445 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.124e-05/0.5845, allocations: 84.14 kB / 1.482 GB, free: 3.359 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 4.389e-05/0.5846, allocations: 83.22 kB / 1.482 GB, free: 3.277 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.96e-05/0.5846, allocations: 109.8 kB / 1.482 GB, free: 3.16 MB / 1.17 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.5846, allocations: 0 / 1.482 GB, free: 3.16 MB / 1.17 GB Notification: Performance of matching and sorting (n=0): time 0.0001094/0.5847, allocations: 53.5 kB / 1.482 GB, free: 3.102 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.5848, allocations: 126.7 kB / 1.482 GB, free: 2.965 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003637/0.5852, allocations: 336.5 kB / 1.483 GB, free: 2.629 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.5852, allocations: 25.7 kB / 1.483 GB, free: 2.598 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.5853, allocations: 159.8 kB / 1.483 GB, free: 2.438 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 5.461e-06/0.5853, allocations: 4 kB / 1.483 GB, free: 2.434 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.14e-05/0.5854, allocations: 21.72 kB / 1.483 GB, free: 2.406 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.5855, allocations: 334.8 kB / 1.483 GB, free: 2.07 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.102e-05/0.5856, allocations: 15.98 kB / 1.483 GB, free: 2.055 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.727e-05/0.5856, allocations: 54.81 kB / 1.483 GB, free: 1.977 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.594e-05/0.5857, allocations: 70.83 kB / 1.483 GB, free: 1.883 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5857, allocations: 4 kB / 1.483 GB, free: 1.879 MB / 1.17 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002026/0.5859, allocations: 105.4 kB / 1.483 GB, free: 1.77 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.5859, allocations: 9.812 kB / 1.483 GB, free: 1.762 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.586, allocations: 4 kB / 1.483 GB, free: 1.758 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.586, allocations: 0 / 1.483 GB, free: 1.758 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.203e-05/0.5861, allocations: 19.92 kB / 1.483 GB, free: 1.738 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.5861, allocations: 4.25 kB / 1.483 GB, free: 1.734 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.305e-05/0.5862, allocations: 31.73 kB / 1.483 GB, free: 1.703 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.208e-05/0.5862, allocations: 4 kB / 1.483 GB, free: 1.699 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001623/0.5863, allocations: 209.1 kB / 1.484 GB, free: 1.484 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.945e-05/0.5864, allocations: 132.7 kB / 1.484 GB, free: 1.348 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.977e-05/0.5865, allocations: 126 kB / 1.484 GB, free: 1.215 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.733e-05/0.5866, allocations: 184.3 kB / 1.484 GB, free: 1.027 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.806e-05/0.5867, allocations: 184.2 kB / 1.484 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.411e-05/0.5868, allocations: 176.3 kB / 1.484 GB, free: 0.6602 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003339/0.5871, allocations: 440.2 kB / 1.485 GB, free: 184 kB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.352e-05/0.5871, allocations: 105 kB / 1.485 GB, free: 72 kB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.896e-05/0.5872, allocations: 112.9 kB / 1.485 GB, free: 15.95 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.336e-05/0.5873, allocations: 180.2 kB / 1.485 GB, free: 15.77 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.796e-05/0.5874, allocations: 180.2 kB / 1.485 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.598e-05/0.5874, allocations: 184.2 kB / 1.485 GB, free: 15.4 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-05/0.5875, allocations: 176.3 kB / 1.486 GB, free: 15.22 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.5877, allocations: 331.6 kB / 1.486 GB, free: 14.87 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.5878, allocations: 132.8 kB / 1.486 GB, free: 14.73 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.5879, allocations: 188.1 kB / 1.486 GB, free: 14.54 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.5881, allocations: 105 kB / 1.486 GB, free: 14.43 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.5e-05/0.5882, allocations: 184.2 kB / 1.487 GB, free: 14.25 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-05/0.5882, allocations: 101 kB / 1.487 GB, free: 14.14 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002552/0.5885, allocations: 247 kB / 1.487 GB, free: 13.9 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5885, allocations: 3.938 kB / 1.487 GB, free: 13.89 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0002632/0.5887, allocations: 31.89 kB / 1.487 GB, free: 13.86 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.0004955/0.5892, allocations: 0.8281 MB / 1.488 GB, free: 13.01 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 9.635e-05/0.5893, allocations: 23.92 kB / 1.488 GB, free: 12.98 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5893, allocations: 0 / 1.488 GB, free: 12.98 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 1.323e-06/0.5893, allocations: 0.5 kB / 1.488 GB, free: 12.98 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007748/0.5901, allocations: 0.5168 MB / 1.488 GB, free: 12.46 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/0.5928, allocations: 2.514 MB / 1.491 GB, free: 9.836 MB / 1.186 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.593, allocations: 137.5 kB / 1.491 GB, free: 9.684 MB / 1.186 GB Notification: Performance of simCode: alias equations: time 9.556e-05/0.5931, allocations: 26.28 kB / 1.491 GB, free: 9.652 MB / 1.186 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.5932, allocations: 63.41 kB / 1.491 GB, free: 9.59 MB / 1.186 GB Notification: Performance of SimCode: time 8.52e-07/0.5932, allocations: 0 / 1.491 GB, free: 9.59 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.6202, allocations: 5.248 MB / 1.496 GB, free: 4.562 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.15, allocations: 13.2 kB / 1.496 GB, free: 4.551 MB / 1.186 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_InletToAirDryAirCO2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.InletToAirDryAirCO2.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.01226319791749]