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.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.001812/0.001812, allocations: 106.4 kB / 16.45 MB, free: 6.035 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.002065/0.002065, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.431/1.431, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.059/3.059, allocations: 497.2 MB / 0.7811 GB, free: 33.68 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.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 0.001927/0.001927, allocations: 67.34 kB / 1.134 GB, free: 33.78 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3187, allocations: 173.9 MB / 1.304 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2075/0.5261, allocations: 170.9 MB / 1.471 GB, free: 5.996 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.008075/0.5342, allocations: 6.046 MB / 1.477 GB, free: 15.93 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003635/0.5346, allocations: 4 kB / 1.477 GB, free: 15.93 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.0007231/0.5353, allocations: 194.7 kB / 1.477 GB, free: 15.74 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.0004249/0.5357, allocations: 95.38 kB / 1.477 GB, free: 15.64 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.001409/0.5371, allocations: 0.5294 MB / 1.478 GB, free: 15.11 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.5377, allocations: 414.5 kB / 1.478 GB, free: 14.71 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/0.538, allocations: 99.64 kB / 1.478 GB, free: 14.61 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004076/0.5384, allocations: 199.2 kB / 1.478 GB, free: 14.41 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002739/0.5387, allocations: 159.3 kB / 1.478 GB, free: 14.25 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 4.11e-05/0.5387, allocations: 20 kB / 1.478 GB, free: 14.23 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008951/0.5396, allocations: 490.7 kB / 1.479 GB, free: 13.75 MB / 1.186 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.5397, allocations: 67.75 kB / 1.479 GB, free: 13.69 MB / 1.186 GB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.5399, allocations: 99.48 kB / 1.479 GB, free: 13.59 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.0007835/0.5407, allocations: 458.3 kB / 1.479 GB, free: 13.14 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.5407, allocations: 0 / 1.479 GB, free: 13.14 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.683e-06/0.5407, allocations: 0 / 1.479 GB, free: 13.14 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.5407, allocations: 4 kB / 1.479 GB, free: 13.14 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.0007161/0.5414, allocations: 0.5219 MB / 1.48 GB, free: 12.57 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.5414, allocations: 8.922 kB / 1.48 GB, free: 12.56 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.355e-05/0.5415, allocations: 62.53 kB / 1.48 GB, free: 12.49 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002859/0.5418, allocations: 47.78 kB / 1.48 GB, free: 12.44 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004656/0.5423, allocations: 272.1 kB / 1.48 GB, free: 12.14 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001632/0.5424, allocations: 131.4 kB / 1.48 GB, free: 11.98 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.781e-05/0.5425, allocations: 23.94 kB / 1.481 GB, free: 11.96 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004914/0.543, allocations: 294.8 kB / 1.481 GB, free: 11.63 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.543, allocations: 4 kB / 1.481 GB, free: 11.63 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.223e-05/0.543, allocations: 8 kB / 1.481 GB, free: 11.62 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.249e-05/0.543, allocations: 8 kB / 1.481 GB, free: 11.61 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003275/0.5433, allocations: 156.6 kB / 1.481 GB, free: 11.46 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001761/0.5451, allocations: 1.591 MB / 1.483 GB, free: 9.781 MB / 1.186 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.5452, allocations: 169.1 kB / 1.483 GB, free: 9.605 MB / 1.186 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.609e-05/0.5453, allocations: 80.14 kB / 1.483 GB, free: 9.523 MB / 1.186 GB Notification: Performance of preOpt evalFunc (simulation): time 3.989e-05/0.5453, allocations: 83.27 kB / 1.483 GB, free: 9.441 MB / 1.186 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.187e-05/0.5454, allocations: 113.8 kB / 1.483 GB, free: 9.32 MB / 1.186 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.5454, allocations: 0 / 1.483 GB, free: 9.32 MB / 1.186 GB Notification: Performance of matching and sorting (n=0): time 0.0001203/0.5455, allocations: 49.5 kB / 1.483 GB, free: 9.266 MB / 1.186 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.059e-05/0.5456, allocations: 130.7 kB / 1.483 GB, free: 9.125 MB / 1.186 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004166/0.546, allocations: 306.6 kB / 1.483 GB, free: 8.809 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.546, allocations: 25.7 kB / 1.483 GB, free: 8.777 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.5462, allocations: 195.6 kB / 1.484 GB, free: 8.582 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 6.071e-06/0.5462, allocations: 8 kB / 1.484 GB, free: 8.574 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.519e-05/0.5463, allocations: 45.66 kB / 1.484 GB, free: 8.523 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.5464, allocations: 334.8 kB / 1.484 GB, free: 8.188 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.45e-05/0.5465, allocations: 35.97 kB / 1.484 GB, free: 8.152 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002125/0.5467, allocations: 158.5 kB / 1.484 GB, free: 7.938 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.547, allocations: 200.9 kB / 1.484 GB, free: 7.68 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.459e-06/0.547, allocations: 0 / 1.484 GB, free: 7.68 MB / 1.186 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004574/0.5475, allocations: 221.5 kB / 1.485 GB, free: 7.457 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.5475, allocations: 11.94 kB / 1.485 GB, free: 7.445 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.799e-06/0.5475, allocations: 4 kB / 1.485 GB, free: 7.441 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/0.5475, allocations: 11.94 kB / 1.485 GB, free: 7.43 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001656/0.5477, allocations: 39.92 kB / 1.485 GB, free: 7.391 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.5477, allocations: 4 kB / 1.485 GB, free: 7.387 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001831/0.5479, allocations: 31.72 kB / 1.485 GB, free: 7.355 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.259e-05/0.5479, allocations: 19.98 kB / 1.485 GB, free: 7.336 MB / 1.186 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.000165/0.5481, allocations: 217.2 kB / 1.485 GB, free: 7.113 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001137/0.5482, allocations: 132.7 kB / 1.485 GB, free: 6.977 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.5483, allocations: 121.8 kB / 1.485 GB, free: 6.852 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.071e-05/0.5484, allocations: 176.3 kB / 1.485 GB, free: 6.672 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-05/0.5485, allocations: 184.2 kB / 1.485 GB, free: 6.484 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.236e-05/0.5486, allocations: 176.3 kB / 1.486 GB, free: 6.305 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.549, allocations: 489.1 kB / 1.486 GB, free: 5.77 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.473e-05/0.549, allocations: 101 kB / 1.486 GB, free: 5.664 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.491e-05/0.5491, allocations: 101 kB / 1.486 GB, free: 5.559 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.874e-05/0.5492, allocations: 192.1 kB / 1.486 GB, free: 5.363 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.618e-05/0.5493, allocations: 176.3 kB / 1.487 GB, free: 5.184 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001/0.5494, allocations: 188.2 kB / 1.487 GB, free: 4.992 MB / 1.186 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.442e-05/0.5495, allocations: 176.3 kB / 1.487 GB, free: 4.812 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002094/0.5497, allocations: 327.9 kB / 1.487 GB, free: 4.469 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001783/0.5499, allocations: 213.9 kB / 1.488 GB, free: 4.234 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.55, allocations: 184.2 kB / 1.488 GB, free: 4.047 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001516/0.5501, allocations: 109 kB / 1.488 GB, free: 3.934 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.739e-05/0.5502, allocations: 180.2 kB / 1.488 GB, free: 3.75 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.735e-05/0.5503, allocations: 104.9 kB / 1.488 GB, free: 3.641 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.0002825/0.5506, allocations: 221.9 kB / 1.488 GB, free: 3.43 MB / 1.186 GB Notification: Performance of sort global known variables: time 1e-07/0.5506, allocations: 0 / 1.488 GB, free: 3.43 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.0004202/0.551, allocations: 59.83 kB / 1.488 GB, free: 3.371 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.0007663/0.5517, allocations: 0.8611 MB / 1.489 GB, free: 2.484 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.0002148/0.552, allocations: 79.77 kB / 1.489 GB, free: 2.406 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.552, allocations: 5.188 kB / 1.489 GB, free: 2.402 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 2.515e-06/0.552, allocations: 0 / 1.489 GB, free: 2.402 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005653/0.5525, allocations: 480.2 kB / 1.49 GB, free: 1.93 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003098/0.5556, allocations: 2.511 MB / 1.492 GB, free: 15.22 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004093/0.556, allocations: 0.7359 MB / 1.493 GB, free: 14.46 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.0001332/0.5562, allocations: 37.88 kB / 1.493 GB, free: 14.43 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.305e-05/0.5563, allocations: 55.36 kB / 1.493 GB, free: 14.37 MB / 1.201 GB Notification: Performance of SimCode: time 8.01e-07/0.5563, allocations: 0 / 1.493 GB, free: 14.37 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.5828, allocations: 4.068 MB / 1.497 GB, free: 10.41 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.031/8.614, allocations: 15.77 kB / 1.497 GB, free: 10.39 MB / 1.201 GB " [Timeout remaining time 291] (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_2/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: 14.999739789403975]