Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001706/0.001706, allocations: 107.8 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.001941/0.001941, 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.406/1.406, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.506/2.506, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001892/0.001892, allocations: 59.91 kB / 1.056 GB, free: 5.867 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7361/0.738, allocations: 160.7 MB / 1.213 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.204/0.942, allocations: 170.9 MB / 1.38 GB, free: 12.7 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.007744/0.9498, allocations: 6.042 MB / 1.386 GB, free: 6.637 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.9501, allocations: 11.94 kB / 1.386 GB, free: 6.625 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.0006658/0.9508, allocations: 186.8 kB / 1.386 GB, free: 6.441 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0003873/0.9511, allocations: 95.38 kB / 1.386 GB, free: 6.348 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.001364/0.9525, allocations: 0.5333 MB / 1.387 GB, free: 5.812 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.0005905/0.9531, allocations: 418.5 kB / 1.387 GB, free: 5.402 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002625/0.9534, allocations: 107.6 kB / 1.387 GB, free: 5.293 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004201/0.9538, allocations: 187.4 kB / 1.387 GB, free: 5.109 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.954, allocations: 159.3 kB / 1.387 GB, free: 4.953 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 3.91e-05/0.9541, allocations: 16 kB / 1.387 GB, free: 4.938 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009893/0.9551, allocations: 482.7 kB / 1.388 GB, free: 4.465 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.9552, allocations: 79.73 kB / 1.388 GB, free: 4.387 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0001248/0.9553, allocations: 103.5 kB / 1.388 GB, free: 4.285 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0007659/0.9561, allocations: 450.4 kB / 1.388 GB, free: 3.844 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.9561, allocations: 0 / 1.388 GB, free: 3.844 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.302e-06/0.9561, allocations: 4 kB / 1.388 GB, free: 3.84 MB / 1.092 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.9561, allocations: 0 / 1.388 GB, free: 3.84 MB / 1.092 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.0007293/0.9568, allocations: 0.5297 MB / 1.389 GB, free: 3.262 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.9569, allocations: 8.922 kB / 1.389 GB, free: 3.254 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.976e-05/0.9569, allocations: 62.53 kB / 1.389 GB, free: 3.184 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.9572, allocations: 47.8 kB / 1.389 GB, free: 3.137 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004287/0.9576, allocations: 262.6 kB / 1.389 GB, free: 2.84 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/0.9578, allocations: 139.4 kB / 1.389 GB, free: 2.68 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.9578, allocations: 16 kB / 1.389 GB, free: 2.664 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004936/0.9583, allocations: 298.8 kB / 1.39 GB, free: 2.336 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.9583, allocations: 0 / 1.39 GB, free: 2.336 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.264e-05/0.9583, allocations: 8 kB / 1.39 GB, free: 2.328 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.274e-05/0.9584, allocations: 11.98 kB / 1.39 GB, free: 2.316 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003187/0.9587, allocations: 160.6 kB / 1.39 GB, free: 2.16 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001567/0.9602, allocations: 1.587 MB / 1.391 GB, free: 496 kB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 9.633e-05/0.9603, allocations: 169.1 kB / 1.392 GB, free: 316 kB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.317e-05/0.9604, allocations: 80.14 kB / 1.392 GB, free: 232 kB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 3.299e-05/0.9604, allocations: 79.28 kB / 1.392 GB, free: 152 kB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.851e-05/0.9605, allocations: 113.8 kB / 1.392 GB, free: 28 kB / 1.092 GB Notification: Performance of pre-optimization done (n=0): time 1.202e-06/0.9605, allocations: 3.938 kB / 1.392 GB, free: 24 kB / 1.092 GB Notification: Performance of matching and sorting (n=0): time 0.0001196/0.9606, allocations: 41.61 kB / 1.392 GB, free: 15.98 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.067e-05/0.9607, allocations: 126.7 kB / 1.392 GB, free: 15.84 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004043/0.9611, allocations: 314.6 kB / 1.392 GB, free: 15.52 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.9611, allocations: 25.7 kB / 1.392 GB, free: 15.49 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.9612, allocations: 199.7 kB / 1.393 GB, free: 15.29 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.057e-06/0.9612, allocations: 0 / 1.393 GB, free: 15.29 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.08e-05/0.9613, allocations: 45.66 kB / 1.393 GB, free: 15.24 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.9615, allocations: 334.8 kB / 1.393 GB, free: 14.9 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.531e-05/0.9616, allocations: 39.97 kB / 1.393 GB, free: 14.86 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.9618, allocations: 165 kB / 1.393 GB, free: 14.64 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002802/0.962, allocations: 196.9 kB / 1.393 GB, free: 14.39 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.962, allocations: 0 / 1.393 GB, free: 14.39 MB / 1.107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004454/0.9625, allocations: 217.4 kB / 1.394 GB, free: 14.17 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.9625, allocations: 11.94 kB / 1.394 GB, free: 14.16 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.9625, allocations: 4 kB / 1.394 GB, free: 14.15 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.9625, allocations: 4 kB / 1.394 GB, free: 14.15 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001619/0.9627, allocations: 39.92 kB / 1.394 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.212e-05/0.9627, allocations: 4 kB / 1.394 GB, free: 14.11 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.9629, allocations: 35.73 kB / 1.394 GB, free: 14.07 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.9629, allocations: 8 kB / 1.394 GB, free: 14.06 MB / 1.107 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.0001732/0.9631, allocations: 230.1 kB / 1.394 GB, free: 13.83 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.9632, allocations: 128.8 kB / 1.394 GB, free: 13.7 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.619e-05/0.9633, allocations: 125.8 kB / 1.394 GB, free: 13.57 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.841e-05/0.9634, allocations: 184.2 kB / 1.394 GB, free: 13.38 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.236e-05/0.9634, allocations: 176.3 kB / 1.394 GB, free: 13.2 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.648e-05/0.9635, allocations: 184.3 kB / 1.395 GB, free: 13.01 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.9639, allocations: 485.1 kB / 1.395 GB, free: 12.48 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.246e-05/0.9639, allocations: 101 kB / 1.395 GB, free: 12.38 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.772e-05/0.964, allocations: 108.9 kB / 1.395 GB, free: 12.26 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-05/0.9641, allocations: 180.2 kB / 1.395 GB, free: 12.08 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.428e-05/0.9642, allocations: 184.2 kB / 1.396 GB, free: 11.89 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.087e-05/0.9642, allocations: 184.2 kB / 1.396 GB, free: 11.7 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.156e-05/0.9643, allocations: 180.3 kB / 1.396 GB, free: 11.52 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.9645, allocations: 323.6 kB / 1.396 GB, free: 11.18 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.9647, allocations: 209.9 kB / 1.396 GB, free: 10.95 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/0.9648, allocations: 188.5 kB / 1.397 GB, free: 10.76 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.9649, allocations: 101 kB / 1.397 GB, free: 10.65 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.965, allocations: 192.2 kB / 1.397 GB, free: 10.46 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.84e-05/0.965, allocations: 101 kB / 1.397 GB, free: 10.35 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002641/0.9653, allocations: 221.9 kB / 1.397 GB, free: 10.14 MB / 1.107 GB Notification: Performance of sort global known variables: time 1e-07/0.9653, allocations: 0 / 1.397 GB, free: 10.14 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003929/0.9657, allocations: 47.94 kB / 1.397 GB, free: 10.09 MB / 1.107 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.0006545/0.9663, allocations: 0.8709 MB / 1.398 GB, free: 9.191 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0002157/0.9666, allocations: 76.89 kB / 1.398 GB, free: 9.117 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.9666, allocations: 0 / 1.398 GB, free: 9.117 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.9666, allocations: 4 kB / 1.398 GB, free: 9.113 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005472/0.9671, allocations: 480.4 kB / 1.399 GB, free: 8.637 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.9701, allocations: 2.509 MB / 1.401 GB, free: 5.938 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.9705, allocations: 0.7398 MB / 1.402 GB, free: 5.172 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001341/0.9706, allocations: 37.92 kB / 1.402 GB, free: 5.137 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.9707, allocations: 51.42 kB / 1.402 GB, free: 5.086 MB / 1.107 GB Notification: Performance of SimCode: time 7.31e-07/0.9707, allocations: 0 / 1.402 GB, free: 5.086 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02863/0.9994, allocations: 4.093 MB / 1.406 GB, free: 1.094 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.294/9.294, allocations: 0 / 1.406 GB, free: 1.094 MB / 1.107 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.887593290302902]