Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007785/0.0007785, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0007867/0.0007867, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8798/0.8798, allocations: 177.1 MB / 202.8 MB, free: 5.734 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.742/1.742, 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.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.353e-05, allocations: 5.234 kB / 0.9997 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.5891/0.5891, allocations: 150.4 MB / 1.147 GB, free: 5.68 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.005131/0.5943, allocations: 5.478 MB / 1.152 GB, free: 1.992 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.5945, allocations: 13.91 kB / 1.152 GB, free: 1.988 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0006073/0.5952, allocations: 194 kB / 1.152 GB, free: 1.863 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.0003243/0.5955, allocations: 95.61 kB / 1.152 GB, free: 1.801 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.001272/0.5968, allocations: 0.5319 MB / 1.153 GB, free: 1.535 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.000477/0.5972, allocations: 435 kB / 1.153 GB, free: 1.332 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.5975, allocations: 91.5 kB / 1.153 GB, free: 1.281 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003508/0.5978, allocations: 248.2 kB / 1.153 GB, free: 1.18 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.598, allocations: 125.5 kB / 1.154 GB, free: 1.145 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.898e-05/0.598, allocations: 17.38 kB / 1.154 GB, free: 1.145 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006429/0.5987, allocations: 388.9 kB / 1.154 GB, free: 0.9922 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 9.993e-05/0.5988, allocations: 70.89 kB / 1.154 GB, free: 0.957 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 7.729e-05/0.5988, allocations: 68.34 kB / 1.154 GB, free: 0.9297 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.000633/0.5995, allocations: 468.8 kB / 1.155 GB, free: 0.7773 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5995, allocations: 0 / 1.155 GB, free: 0.7773 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5995, allocations: 0 / 1.155 GB, free: 0.7773 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.5995, allocations: 0 / 1.155 GB, free: 0.7773 MB / 1.01 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.0005296/0.6, allocations: 466.8 kB / 1.155 GB, free: 396 kB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6001, allocations: 10.92 kB / 1.155 GB, free: 396 kB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.64e-05/0.6001, allocations: 59.98 kB / 1.155 GB, free: 340 kB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002535/0.6004, allocations: 51.36 kB / 1.155 GB, free: 320 kB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003512/0.6007, allocations: 194.7 kB / 1.155 GB, free: 156 kB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001749/0.6009, allocations: 243.2 kB / 1.156 GB, free: 15.89 MB / 1.026 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.6009, allocations: 27.03 kB / 1.156 GB, free: 15.88 MB / 1.026 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003927/0.6013, allocations: 293.1 kB / 1.156 GB, free: 15.69 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6013, allocations: 1.125 kB / 1.156 GB, free: 15.69 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.6014, allocations: 14.91 kB / 1.156 GB, free: 15.68 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.6014, allocations: 6.469 kB / 1.156 GB, free: 15.68 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002342/0.6016, allocations: 153.8 kB / 1.156 GB, free: 15.63 MB / 1.026 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001071/0.6027, allocations: 1.514 MB / 1.157 GB, free: 14.25 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 7.644e-05/0.6027, allocations: 168.1 kB / 1.158 GB, free: 14.07 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.161e-05/0.6028, allocations: 80.14 kB / 1.158 GB, free: 13.99 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 2.583e-05/0.6028, allocations: 80.38 kB / 1.158 GB, free: 13.91 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.6028, allocations: 107.6 kB / 1.158 GB, free: 13.8 MB / 1.026 GB Notification: Performance of pre-optimization done (n=0): time 2.375e-06/0.6028, allocations: 4.875 kB / 1.158 GB, free: 13.8 MB / 1.026 GB Notification: Performance of matching and sorting (n=0): time 8.749e-05/0.6029, allocations: 46.91 kB / 1.158 GB, free: 13.75 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.691e-05/0.603, allocations: 134.6 kB / 1.158 GB, free: 13.61 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.6033, allocations: 318.2 kB / 1.158 GB, free: 13.44 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 8.887e-06/0.6033, allocations: 25.7 kB / 1.158 GB, free: 13.41 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001232/0.6035, allocations: 199.2 kB / 1.159 GB, free: 13.24 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-06/0.6035, allocations: 5.359 kB / 1.159 GB, free: 13.23 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002611/0.6037, allocations: 48.02 kB / 1.159 GB, free: 13.2 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6038, allocations: 329.6 kB / 1.159 GB, free: 12.88 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.6039, allocations: 36.53 kB / 1.159 GB, free: 12.87 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.604, allocations: 173.6 kB / 1.159 GB, free: 12.68 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001864/0.6042, allocations: 193.2 kB / 1.159 GB, free: 12.49 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6042, allocations: 1.766 kB / 1.159 GB, free: 12.49 MB / 1.026 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003282/0.6046, allocations: 218.9 kB / 1.16 GB, free: 12.38 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.107e-05/0.6046, allocations: 9.5 kB / 1.16 GB, free: 12.38 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6046, allocations: 5.719 kB / 1.16 GB, free: 12.38 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.965e-05/0.6046, allocations: 6.375 kB / 1.16 GB, free: 12.38 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.6047, allocations: 44.75 kB / 1.16 GB, free: 12.37 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.6048, allocations: 7.297 kB / 1.16 GB, free: 12.37 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.631e-05/0.6048, allocations: 34.83 kB / 1.16 GB, free: 12.35 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.6049, allocations: 10.81 kB / 1.16 GB, free: 12.35 MB / 1.026 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.0001204/0.605, allocations: 218.8 kB / 1.16 GB, free: 12.14 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.277e-05/0.605, allocations: 126.1 kB / 1.16 GB, free: 12.02 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.624e-05/0.6051, allocations: 121.9 kB / 1.16 GB, free: 11.91 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-05/0.6051, allocations: 182 kB / 1.16 GB, free: 11.72 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-05/0.6052, allocations: 185.7 kB / 1.16 GB, free: 11.54 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-05/0.6052, allocations: 178.9 kB / 1.161 GB, free: 11.36 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002069/0.6054, allocations: 448.8 kB / 1.161 GB, free: 10.92 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.142e-05/0.6055, allocations: 102.8 kB / 1.161 GB, free: 10.81 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.439e-05/0.6055, allocations: 106.7 kB / 1.161 GB, free: 10.7 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.845e-05/0.6055, allocations: 182.1 kB / 1.161 GB, free: 10.52 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/0.6056, allocations: 178.8 kB / 1.162 GB, free: 10.34 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-05/0.6056, allocations: 182.1 kB / 1.162 GB, free: 10.16 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.814e-05/0.6056, allocations: 189.9 kB / 1.162 GB, free: 9.965 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.561e-05/0.6057, allocations: 317.6 kB / 1.162 GB, free: 9.645 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.6058, allocations: 129.9 kB / 1.162 GB, free: 9.523 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.36e-05/0.6058, allocations: 183.9 kB / 1.163 GB, free: 9.34 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.819e-05/0.6059, allocations: 106.9 kB / 1.163 GB, free: 9.23 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/0.606, allocations: 186.2 kB / 1.163 GB, free: 9.043 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.182e-05/0.606, allocations: 106 kB / 1.163 GB, free: 8.934 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0001768/0.6062, allocations: 217.6 kB / 1.163 GB, free: 8.816 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.6062, allocations: 0 / 1.163 GB, free: 8.816 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.0002745/0.6064, allocations: 55.52 kB / 1.163 GB, free: 8.805 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.0003837/0.6068, allocations: 0.8538 MB / 1.164 GB, free: 7.977 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.0001727/0.607, allocations: 79.17 kB / 1.164 GB, free: 7.949 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.607, allocations: 1.25 kB / 1.164 GB, free: 7.949 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.607, allocations: 1.094 kB / 1.164 GB, free: 7.949 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.6074, allocations: 487.8 kB / 1.165 GB, free: 7.488 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00218/0.6096, allocations: 2.506 MB / 1.167 GB, free: 5.508 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.909e-05/0.6097, allocations: 126 kB / 1.167 GB, free: 5.422 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0001028/0.6098, allocations: 36.08 kB / 1.167 GB, free: 5.414 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.36e-05/0.6099, allocations: 54.53 kB / 1.167 GB, free: 5.375 MB / 1.026 GB Notification: Performance of SimCode: time 8.22e-07/0.6099, allocations: 0 / 1.167 GB, free: 5.375 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02/0.6299, allocations: 4.739 MB / 1.172 GB, free: 4.246 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.883/7.513, allocations: 4.656 kB / 1.172 GB, free: 4.246 MB / 1.026 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.534704646095634]