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.007709/0.007709, allocations: 103.2 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.001817/0.001818, allocations: 189.3 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.488/2.488, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001347/0.001347, allocations: 75.88 kB / 1.054 GB, free: 8.188 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8373/0.8387, 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.1781/1.017, allocations: 170.3 MB / 1.374 GB, free: 2.598 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.006201/1.023, allocations: 6.003 MB / 1.379 GB, free: 12.58 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003216/1.023, allocations: 11.94 kB / 1.379 GB, free: 12.57 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.0006004/1.024, allocations: 190.8 kB / 1.38 GB, free: 12.38 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.0003225/1.024, allocations: 87.38 kB / 1.38 GB, free: 12.29 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.001169/1.026, allocations: 0.5177 MB / 1.38 GB, free: 11.77 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0004737/1.026, allocations: 422.7 kB / 1.381 GB, free: 11.36 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002536/1.026, allocations: 135.6 kB / 1.381 GB, free: 11.22 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002987/1.027, allocations: 191.3 kB / 1.381 GB, free: 11.03 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002015/1.027, allocations: 151.4 kB / 1.381 GB, free: 10.88 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/1.027, allocations: 16 kB / 1.381 GB, free: 10.87 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007204/1.028, allocations: 458.8 kB / 1.382 GB, free: 10.42 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 8.338e-05/1.028, allocations: 67.81 kB / 1.382 GB, free: 10.35 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/1.028, allocations: 107.4 kB / 1.382 GB, free: 10.25 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.000586/1.028, allocations: 458.5 kB / 1.382 GB, free: 9.797 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.028, allocations: 0 / 1.382 GB, free: 9.797 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.402e-06/1.028, allocations: 0 / 1.382 GB, free: 9.797 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.464e-06/1.028, allocations: 0 / 1.382 GB, free: 9.797 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.0005601/1.029, allocations: 0.5185 MB / 1.383 GB, free: 9.23 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.029, allocations: 8.031 kB / 1.383 GB, free: 9.223 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.119e-05/1.029, allocations: 66.47 kB / 1.383 GB, free: 9.148 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/1.029, allocations: 47.7 kB / 1.383 GB, free: 9.102 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003893/1.03, allocations: 258.6 kB / 1.383 GB, free: 8.809 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001257/1.03, allocations: 135.4 kB / 1.383 GB, free: 8.652 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/1.03, allocations: 20 kB / 1.383 GB, free: 8.633 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000422/1.03, allocations: 302.7 kB / 1.383 GB, free: 8.301 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/1.03, allocations: 3.938 kB / 1.383 GB, free: 8.297 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.1e-05/1.03, allocations: 8 kB / 1.383 GB, free: 8.289 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.797e-06/1.03, allocations: 8 kB / 1.383 GB, free: 8.281 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002829/1.031, allocations: 152.6 kB / 1.384 GB, free: 8.133 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/1.032, allocations: 1.587 MB / 1.385 GB, free: 6.457 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 7.932e-05/1.032, allocations: 173.1 kB / 1.385 GB, free: 6.277 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.039e-05/1.032, allocations: 80.14 kB / 1.385 GB, free: 6.195 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/1.032, allocations: 79.22 kB / 1.385 GB, free: 6.117 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.927e-05/1.032, allocations: 113.8 kB / 1.386 GB, free: 5.996 MB / 1.107 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/1.032, allocations: 0 / 1.386 GB, free: 5.996 MB / 1.107 GB Notification: Performance of matching and sorting (n=0): time 8.406e-05/1.032, allocations: 45.52 kB / 1.386 GB, free: 5.945 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/1.032, allocations: 130.6 kB / 1.386 GB, free: 5.805 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003313/1.033, allocations: 314.5 kB / 1.386 GB, free: 5.488 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/1.033, allocations: 25.7 kB / 1.386 GB, free: 5.457 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/1.033, allocations: 191.2 kB / 1.386 GB, free: 5.266 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 4.759e-06/1.033, allocations: 4 kB / 1.386 GB, free: 5.262 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.947e-05/1.033, allocations: 45.64 kB / 1.386 GB, free: 5.211 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001098/1.033, allocations: 330.8 kB / 1.387 GB, free: 4.879 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.733e-05/1.033, allocations: 35.98 kB / 1.387 GB, free: 4.844 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/1.033, allocations: 162.6 kB / 1.387 GB, free: 4.625 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002244/1.034, allocations: 200.9 kB / 1.387 GB, free: 4.367 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/1.034, allocations: 3.938 kB / 1.387 GB, free: 4.363 MB / 1.107 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003838/1.034, allocations: 217.5 kB / 1.387 GB, free: 4.145 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/1.034, allocations: 14.12 kB / 1.387 GB, free: 4.133 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.034, allocations: 4 kB / 1.387 GB, free: 4.129 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.034, allocations: 4 kB / 1.387 GB, free: 4.125 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/1.034, allocations: 39.92 kB / 1.387 GB, free: 4.086 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/1.034, allocations: 7.938 kB / 1.387 GB, free: 4.078 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001546/1.034, allocations: 31.69 kB / 1.387 GB, free: 4.047 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/1.034, allocations: 8 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.0001338/1.034, allocations: 225 kB / 1.388 GB, free: 3.809 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.824e-05/1.035, allocations: 132.7 kB / 1.388 GB, free: 3.672 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.573e-05/1.035, allocations: 125.8 kB / 1.388 GB, free: 3.547 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.885e-05/1.035, allocations: 176.3 kB / 1.388 GB, free: 3.367 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-05/1.035, allocations: 180.2 kB / 1.388 GB, free: 3.184 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.535e-05/1.035, allocations: 184.2 kB / 1.388 GB, free: 2.996 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002894/1.035, allocations: 485.1 kB / 1.389 GB, free: 2.465 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/1.035, allocations: 104.9 kB / 1.389 GB, free: 2.355 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.285e-05/1.035, allocations: 101 kB / 1.389 GB, free: 2.25 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.041e-05/1.035, allocations: 180.2 kB / 1.389 GB, free: 2.066 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/1.035, allocations: 188.2 kB / 1.389 GB, free: 1.875 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.852e-05/1.035, allocations: 176.3 kB / 1.389 GB, free: 1.695 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.023e-05/1.035, allocations: 184.2 kB / 1.39 GB, free: 1.508 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001397/1.036, allocations: 323.6 kB / 1.39 GB, free: 1.168 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/1.036, allocations: 210 kB / 1.39 GB, free: 0.9375 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/1.036, allocations: 180.2 kB / 1.39 GB, free: 0.7539 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001155/1.036, allocations: 117 kB / 1.39 GB, free: 0.6328 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.433e-05/1.036, allocations: 184.3 kB / 1.391 GB, free: 456 kB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.08e-05/1.036, allocations: 101 kB / 1.391 GB, free: 348 kB / 1.107 GB Notification: Performance of sorting global known variables: time 0.0002186/1.036, allocations: 221.9 kB / 1.391 GB, free: 128 kB / 1.107 GB Notification: Performance of sort global known variables: time 1.2e-07/1.036, allocations: 0 / 1.391 GB, free: 128 kB / 1.107 GB Notification: Performance of remove unused functions: time 0.0003468/1.037, allocations: 59.83 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.0005505/1.037, allocations: 0.8631 MB / 1.392 GB, free: 15.18 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0001866/1.037, allocations: 79.77 kB / 1.392 GB, free: 15.1 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.037, allocations: 0 / 1.392 GB, free: 15.1 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 3.106e-06/1.037, allocations: 5.25 kB / 1.392 GB, free: 15.09 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/1.038, allocations: 484.2 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.002353/1.04, allocations: 2.488 MB / 1.395 GB, free: 11.93 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/1.041, allocations: 0.7475 MB / 1.396 GB, free: 11.16 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0001206/1.041, allocations: 37.88 kB / 1.396 GB, free: 11.12 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.441e-05/1.041, allocations: 55.42 kB / 1.396 GB, free: 11.07 MB / 1.123 GB Notification: Performance of SimCode: time 2.91e-07/1.041, allocations: 0 / 1.396 GB, free: 11.07 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02273/1.063, allocations: 4.092 MB / 1.4 GB, free: 7.082 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.486/8.55, allocations: 11.98 kB / 1.4 GB, free: 7.07 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