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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006775/0.006775, allocations: 103.5 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001533/0.001533, allocations: 188 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.331/1.331, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.555/2.555, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001369/0.001369, allocations: 60.12 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8471/0.8485, allocations: 157.4 MB / 1.207 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1824/1.031, allocations: 170.3 MB / 1.374 GB, free: 2.598 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.00743/1.038, allocations: 6.003 MB / 1.379 GB, free: 12.58 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004184/1.039, allocations: 11.94 kB / 1.379 GB, free: 12.57 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0007445/1.04, allocations: 182.7 kB / 1.38 GB, free: 12.39 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.000513/1.04, allocations: 95.42 kB / 1.38 GB, free: 12.29 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/1.042, allocations: 0.5177 MB / 1.38 GB, free: 11.77 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0006011/1.042, allocations: 418.7 kB / 1.381 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/1.043, allocations: 147.5 kB / 1.381 GB, free: 11.21 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003894/1.043, allocations: 187.4 kB / 1.381 GB, free: 11.03 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002598/1.043, allocations: 147.4 kB / 1.381 GB, free: 10.88 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 3.921e-05/1.043, allocations: 20 kB / 1.381 GB, free: 10.86 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008209/1.044, allocations: 462.8 kB / 1.382 GB, free: 10.41 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 9.733e-05/1.044, allocations: 67.77 kB / 1.382 GB, free: 10.34 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001228/1.044, allocations: 107.5 kB / 1.382 GB, free: 10.24 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0007853/1.045, allocations: 458.5 kB / 1.382 GB, free: 9.789 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/1.045, allocations: 3.938 kB / 1.382 GB, free: 9.785 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.854e-06/1.045, allocations: 0 / 1.382 GB, free: 9.785 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.286e-05/1.045, allocations: 0 / 1.382 GB, free: 9.785 MB / 1.107 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.0006924/1.046, allocations: 0.5146 MB / 1.383 GB, free: 9.223 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.508e-05/1.046, allocations: 12.03 kB / 1.383 GB, free: 9.211 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.957e-05/1.046, allocations: 62.53 kB / 1.383 GB, free: 9.141 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/1.046, allocations: 39.7 kB / 1.383 GB, free: 9.102 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003767/1.047, allocations: 264.3 kB / 1.383 GB, free: 8.805 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/1.047, allocations: 131.4 kB / 1.383 GB, free: 8.652 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.346e-05/1.047, allocations: 24 kB / 1.383 GB, free: 8.629 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/1.047, allocations: 298.7 kB / 1.383 GB, free: 8.301 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.047, allocations: 0 / 1.383 GB, free: 8.301 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.743e-05/1.047, allocations: 12 kB / 1.383 GB, free: 8.289 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.546e-06/1.047, allocations: 4 kB / 1.383 GB, free: 8.285 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/1.048, allocations: 156.6 kB / 1.384 GB, free: 8.133 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/1.049, allocations: 1.587 MB / 1.385 GB, free: 6.457 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 9.839e-05/1.049, allocations: 173.1 kB / 1.385 GB, free: 6.277 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.603e-05/1.049, allocations: 80.14 kB / 1.385 GB, free: 6.195 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/1.05, allocations: 75.28 kB / 1.385 GB, free: 6.121 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.375e-05/1.05, allocations: 117.8 kB / 1.386 GB, free: 5.996 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/1.05, allocations: 0 / 1.386 GB, free: 5.996 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 0.0001168/1.05, allocations: 41.52 kB / 1.386 GB, free: 5.949 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.913e-05/1.05, allocations: 134.6 kB / 1.386 GB, free: 5.805 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003888/1.05, allocations: 314.5 kB / 1.386 GB, free: 5.488 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.263e-05/1.05, allocations: 25.7 kB / 1.386 GB, free: 5.457 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001362/1.05, allocations: 187.2 kB / 1.386 GB, free: 5.27 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.053e-06/1.05, allocations: 4 kB / 1.386 GB, free: 5.266 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.701e-05/1.05, allocations: 45.7 kB / 1.386 GB, free: 5.215 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.051, allocations: 326.8 kB / 1.387 GB, free: 4.887 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.678e-05/1.051, allocations: 35.97 kB / 1.387 GB, free: 4.852 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/1.051, allocations: 162.8 kB / 1.387 GB, free: 4.633 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002275/1.051, allocations: 196.8 kB / 1.387 GB, free: 4.379 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/1.051, allocations: 8 kB / 1.387 GB, free: 4.371 MB / 1.107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004736/1.052, allocations: 217.5 kB / 1.387 GB, free: 4.152 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/1.052, allocations: 16 kB / 1.387 GB, free: 4.137 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/1.052, allocations: 4 kB / 1.387 GB, free: 4.133 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/1.052, allocations: 8 kB / 1.387 GB, free: 4.125 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001584/1.052, allocations: 35.92 kB / 1.387 GB, free: 4.09 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.454e-05/1.052, allocations: 11.94 kB / 1.387 GB, free: 4.078 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/1.052, allocations: 27.69 kB / 1.387 GB, free: 4.051 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/1.052, allocations: 12 kB / 1.387 GB, free: 4.039 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.000157/1.052, allocations: 217 kB / 1.388 GB, free: 3.816 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.407e-05/1.052, allocations: 136.7 kB / 1.388 GB, free: 3.676 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.352e-05/1.052, allocations: 125.8 kB / 1.388 GB, free: 3.551 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.826e-05/1.052, allocations: 176.3 kB / 1.388 GB, free: 3.371 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.257e-05/1.053, allocations: 188.2 kB / 1.388 GB, free: 3.18 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.851e-05/1.053, allocations: 180.2 kB / 1.388 GB, free: 2.996 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003278/1.053, allocations: 485.1 kB / 1.389 GB, free: 2.465 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.351e-05/1.053, allocations: 104.9 kB / 1.389 GB, free: 2.355 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.069e-05/1.053, allocations: 105 kB / 1.389 GB, free: 2.246 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.193e-05/1.053, allocations: 188.1 kB / 1.389 GB, free: 2.055 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.825e-05/1.053, allocations: 184.2 kB / 1.389 GB, free: 1.867 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-05/1.053, allocations: 180.2 kB / 1.389 GB, free: 1.684 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.646e-05/1.053, allocations: 188.2 kB / 1.39 GB, free: 1.492 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001534/1.053, allocations: 319.6 kB / 1.39 GB, free: 1.156 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.054, allocations: 202.1 kB / 1.39 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.301e-05/1.054, allocations: 184.2 kB / 1.39 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/1.054, allocations: 109 kB / 1.39 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.153e-05/1.054, allocations: 184.3 kB / 1.391 GB, free: 456 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.953e-05/1.054, allocations: 108.9 kB / 1.391 GB, free: 340 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002288/1.054, allocations: 217.9 kB / 1.391 GB, free: 124 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.3e-07/1.054, allocations: 0 / 1.391 GB, free: 124 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003631/1.055, allocations: 55.84 kB / 1.391 GB, free: 68 kB / 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.0006/1.055, allocations: 0.8554 MB / 1.392 GB, free: 15.18 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0002074/1.055, allocations: 79.78 kB / 1.392 GB, free: 15.11 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/1.055, allocations: 0 / 1.392 GB, free: 15.11 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 5.621e-06/1.055, allocations: 5.234 kB / 1.392 GB, free: 15.1 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005256/1.056, allocations: 488.1 kB / 1.392 GB, free: 14.62 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002733/1.059, allocations: 2.488 MB / 1.395 GB, free: 11.94 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/1.059, allocations: 0.7475 MB / 1.396 GB, free: 11.16 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001202/1.059, allocations: 33.94 kB / 1.396 GB, free: 11.13 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.898e-05/1.059, allocations: 55.42 kB / 1.396 GB, free: 11.08 MB / 1.123 GB Notification: Performance of SimCode: time 6.31e-07/1.059, allocations: 0 / 1.396 GB, free: 11.08 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/1.08, allocations: 4.095 MB / 1.4 GB, free: 7.086 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/8.5, allocations: 5.062 kB / 1.4 GB, free: 7.082 MB / 1.123 GB (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 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) 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) Reference file matches