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.001281/0.001281, 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.001392/0.001392, allocations: 219.8 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.421/1.421, 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.059/3.059, allocations: 0.5003 GB / 0.8062 GB, free: 28.22 MB / 0.6231 GB " [Timeout remaining time 177] 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.AirToOutlet,fileNamePrefix="Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_latest_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.001959/0.001959, allocations: 63.61 kB / 1.17 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3121, allocations: 179 MB / 1.345 GB, free: 15.94 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.184/0.4961, allocations: 150.4 MB / 1.492 GB, free: 8.93 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.007538/0.5036, allocations: 5.503 MB / 1.498 GB, free: 3.406 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003508/0.504, allocations: 11.94 kB / 1.498 GB, free: 3.395 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0006703/0.5046, allocations: 190.7 kB / 1.498 GB, free: 3.207 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.5051, allocations: 95.42 kB / 1.498 GB, free: 3.113 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001488/0.5066, allocations: 0.5178 MB / 1.498 GB, free: 2.594 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0005941/0.5072, allocations: 422.6 kB / 1.499 GB, free: 2.18 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002524/0.5074, allocations: 96.2 kB / 1.499 GB, free: 2.078 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003978/0.5078, allocations: 191.4 kB / 1.499 GB, free: 1.891 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002945/0.5081, allocations: 159.3 kB / 1.499 GB, free: 1.734 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.352e-05/0.5081, allocations: 16 kB / 1.499 GB, free: 1.719 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000777/0.5089, allocations: 378.9 kB / 1.5 GB, free: 1.348 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.509, allocations: 67.81 kB / 1.5 GB, free: 1.281 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.5092, allocations: 87.59 kB / 1.5 GB, free: 1.195 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007581/0.5099, allocations: 462.2 kB / 1.5 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.5099, allocations: 0 / 1.5 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5099, allocations: 0 / 1.5 GB, free: 0.7422 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.5099, allocations: 0 / 1.5 GB, free: 0.7422 MB / 1.186 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.0006851/0.5106, allocations: 457.3 kB / 1.501 GB, free: 272 kB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.5107, allocations: 8.031 kB / 1.501 GB, free: 264 kB / 1.186 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.088e-05/0.5107, allocations: 8.438 kB / 1.501 GB, free: 256 kB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.732e-05/0.5107, allocations: 62.53 kB / 1.501 GB, free: 184 kB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/0.511, allocations: 43.8 kB / 1.501 GB, free: 140 kB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004081/0.5114, allocations: 216.6 kB / 1.501 GB, free: 15.9 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/0.5116, allocations: 242.1 kB / 1.501 GB, free: 15.61 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.539e-05/0.5117, allocations: 19.94 kB / 1.501 GB, free: 15.59 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000477/0.5121, allocations: 293.9 kB / 1.501 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.5122, allocations: 0 / 1.501 GB, free: 15.27 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.828e-05/0.5122, allocations: 12 kB / 1.501 GB, free: 15.25 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.5122, allocations: 12 kB / 1.501 GB, free: 15.24 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003524/0.5126, allocations: 160.6 kB / 1.502 GB, free: 15.09 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001482/0.514, allocations: 1.51 MB / 1.503 GB, free: 13.5 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.5141, allocations: 165.2 kB / 1.503 GB, free: 13.32 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.912e-05/0.5142, allocations: 88.14 kB / 1.503 GB, free: 13.23 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 3.296e-05/0.5142, allocations: 75.28 kB / 1.503 GB, free: 13.16 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.677e-05/0.5143, allocations: 117.7 kB / 1.504 GB, free: 13.04 MB / 1.201 GB Notification: Performance of pre-optimization done (n=0): time 1.302e-06/0.5143, allocations: 0 / 1.504 GB, free: 13.04 MB / 1.201 GB Notification: Performance of matching and sorting (n=0): time 0.0001054/0.5144, allocations: 41.61 kB / 1.504 GB, free: 12.99 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.5145, allocations: 134.7 kB / 1.504 GB, free: 12.84 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.5148, allocations: 313.8 kB / 1.504 GB, free: 12.53 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.5148, allocations: 25.7 kB / 1.504 GB, free: 12.5 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.515, allocations: 195.6 kB / 1.504 GB, free: 12.3 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 4.048e-06/0.515, allocations: 0 / 1.504 GB, free: 12.3 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.155e-05/0.5151, allocations: 45.66 kB / 1.504 GB, free: 12.25 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.5152, allocations: 330.8 kB / 1.505 GB, free: 11.92 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.057e-05/0.5153, allocations: 35.97 kB / 1.505 GB, free: 11.88 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001787/0.5155, allocations: 166.8 kB / 1.505 GB, free: 11.66 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002461/0.5157, allocations: 196.9 kB / 1.505 GB, free: 11.41 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.5157, allocations: 0 / 1.505 GB, free: 11.41 MB / 1.201 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004371/0.5162, allocations: 229.1 kB / 1.505 GB, free: 11.18 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.5162, allocations: 8 kB / 1.505 GB, free: 11.17 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/0.5162, allocations: 4 kB / 1.505 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.687e-05/0.5162, allocations: 4 kB / 1.505 GB, free: 11.16 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001612/0.5164, allocations: 39.92 kB / 1.505 GB, free: 11.12 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.5164, allocations: 7.938 kB / 1.505 GB, free: 11.11 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.5166, allocations: 40.22 kB / 1.505 GB, free: 11.07 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.057e-05/0.5166, allocations: 19.92 kB / 1.505 GB, free: 11.05 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.0001627/0.5168, allocations: 217 kB / 1.505 GB, free: 10.83 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.751e-05/0.5169, allocations: 128.8 kB / 1.506 GB, free: 10.7 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.425e-05/0.5169, allocations: 121.8 kB / 1.506 GB, free: 10.58 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.66e-05/0.517, allocations: 184.2 kB / 1.506 GB, free: 10.39 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.689e-05/0.5171, allocations: 184.3 kB / 1.506 GB, free: 10.2 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.221e-05/0.5172, allocations: 180.2 kB / 1.506 GB, free: 10.02 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003218/0.5175, allocations: 444.2 kB / 1.507 GB, free: 9.535 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.254e-05/0.5175, allocations: 105 kB / 1.507 GB, free: 9.426 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.378e-05/0.5176, allocations: 108.9 kB / 1.507 GB, free: 9.312 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.14e-05/0.5177, allocations: 180.3 kB / 1.507 GB, free: 9.129 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.574e-05/0.5177, allocations: 188.2 kB / 1.507 GB, free: 8.938 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-05/0.5178, allocations: 176.3 kB / 1.507 GB, free: 8.758 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.198e-05/0.5179, allocations: 176.3 kB / 1.508 GB, free: 8.578 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001715/0.518, allocations: 327.6 kB / 1.508 GB, free: 8.234 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.5182, allocations: 144.7 kB / 1.508 GB, free: 8.086 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001101/0.5183, allocations: 180.3 kB / 1.508 GB, free: 7.902 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.5184, allocations: 101 kB / 1.508 GB, free: 7.797 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.853e-05/0.5185, allocations: 184.2 kB / 1.508 GB, free: 7.609 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.141e-05/0.5185, allocations: 104.9 kB / 1.509 GB, free: 7.5 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.0002493/0.5188, allocations: 217.2 kB / 1.509 GB, free: 7.289 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5188, allocations: 4 kB / 1.509 GB, free: 7.285 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.0003864/0.5192, allocations: 55.92 kB / 1.509 GB, free: 7.23 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.0006195/0.5198, allocations: 0.8592 MB / 1.51 GB, free: 6.34 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.0002068/0.52, allocations: 75.78 kB / 1.51 GB, free: 6.266 MB / 1.201 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.52, allocations: 4 kB / 1.51 GB, free: 6.262 MB / 1.201 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.52, allocations: 0 / 1.51 GB, free: 6.262 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.5205, allocations: 485.3 kB / 1.51 GB, free: 5.785 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.5235, allocations: 2.495 MB / 1.513 GB, free: 3.098 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001302/0.5236, allocations: 128.9 kB / 1.513 GB, free: 2.953 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001265/0.5237, allocations: 33.94 kB / 1.513 GB, free: 2.922 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/0.5238, allocations: 59.41 kB / 1.513 GB, free: 2.863 MB / 1.201 GB Notification: Performance of SimCode: time 5.61e-07/0.5238, allocations: 0 / 1.513 GB, free: 2.863 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02653/0.5504, allocations: 4.295 MB / 1.517 GB, free: 14.74 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.64/12.19, allocations: 13.59 kB / 1.517 GB, free: 14.73 MB / 1.217 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.646548105985858]