Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet,fileNamePrefix="Buildings_9_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.0098/0.0098, allocations: 105.8 kB / 15.74 MB, free: 5.996 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.002032/0.002033, allocations: 200 kB / 16.68 MB, free: 5.922 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.464/1.464, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.36/2.36, allocations: 390.3 MB / 0.6648 GB, free: 0.6211 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002175/0.002175, allocations: 67.89 kB / 0.9504 GB, free: 8.148 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9291/0.9313, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.2157/1.147, allocations: 170.3 MB / 1.254 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006639/1.154, allocations: 5.999 MB / 1.26 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003103/1.154, allocations: 4 kB / 1.26 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006288/1.155, allocations: 194.7 kB / 1.26 GB, free: 13.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003265/1.155, allocations: 83.38 kB / 1.26 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/1.156, allocations: 0.5255 MB / 1.26 GB, free: 12.6 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004796/1.157, allocations: 410.8 kB / 1.261 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002825/1.157, allocations: 137.3 kB / 1.261 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003169/1.157, allocations: 191.2 kB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002357/1.158, allocations: 151.4 kB / 1.261 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.146e-05/1.158, allocations: 16 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007165/1.158, allocations: 462.8 kB / 1.262 GB, free: 11.25 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.311e-05/1.159, allocations: 71.8 kB / 1.262 GB, free: 11.18 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001097/1.159, allocations: 107.5 kB / 1.262 GB, free: 11.08 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005922/1.159, allocations: 450.6 kB / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.159, allocations: 0 / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.244e-06/1.159, allocations: 0 / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.347e-06/1.159, allocations: 3.984 kB / 1.262 GB, free: 10.63 MB / 0.9981 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.0006387/1.16, allocations: 0.5224 MB / 1.263 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/1.16, allocations: 8.031 kB / 1.263 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.732e-05/1.16, allocations: 66.48 kB / 1.263 GB, free: 9.98 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/1.16, allocations: 47.7 kB / 1.263 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/1.161, allocations: 262.5 kB / 1.263 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001576/1.161, allocations: 131.4 kB / 1.263 GB, free: 9.484 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/1.161, allocations: 20 kB / 1.263 GB, free: 9.465 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/1.162, allocations: 294.8 kB / 1.264 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/1.162, allocations: 4 kB / 1.264 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.563e-05/1.162, allocations: 8 kB / 1.264 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/1.162, allocations: 8 kB / 1.264 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003263/1.162, allocations: 168.6 kB / 1.264 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001691/1.164, allocations: 1.575 MB / 1.265 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000108/1.164, allocations: 165.1 kB / 1.266 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.693e-05/1.164, allocations: 84.14 kB / 1.266 GB, free: 7.031 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.258e-05/1.164, allocations: 79.28 kB / 1.266 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.364e-05/1.164, allocations: 113.8 kB / 1.266 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.783e-06/1.164, allocations: 3.938 kB / 1.266 GB, free: 6.828 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 0.0001275/1.164, allocations: 49.5 kB / 1.266 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.785e-05/1.164, allocations: 126.7 kB / 1.266 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003725/1.165, allocations: 310.5 kB / 1.266 GB, free: 6.324 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/1.165, allocations: 25.7 kB / 1.266 GB, free: 6.293 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001412/1.165, allocations: 191.2 kB / 1.266 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/1.165, allocations: 11.98 kB / 1.266 GB, free: 6.09 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/1.165, allocations: 41.61 kB / 1.267 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001493/1.165, allocations: 330.8 kB / 1.267 GB, free: 5.711 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001/1.165, allocations: 39.97 kB / 1.267 GB, free: 5.672 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/1.165, allocations: 157.1 kB / 1.267 GB, free: 5.457 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002641/1.166, allocations: 200.9 kB / 1.267 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.166, allocations: 0 / 1.267 GB, free: 5.199 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000438/1.166, allocations: 221 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/1.166, allocations: 11.94 kB / 1.267 GB, free: 4.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/1.166, allocations: 4 kB / 1.267 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.344e-05/1.166, allocations: 8 kB / 1.267 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/1.166, allocations: 35.92 kB / 1.267 GB, free: 4.918 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.737e-05/1.166, allocations: 12.53 kB / 1.267 GB, free: 4.906 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001598/1.167, allocations: 31.69 kB / 1.268 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.098e-05/1.167, allocations: 16 kB / 1.268 GB, free: 4.859 MB / 0.9981 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.0001815/1.167, allocations: 217 kB / 1.268 GB, free: 4.637 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.804e-05/1.167, allocations: 128.7 kB / 1.268 GB, free: 4.504 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.311e-05/1.167, allocations: 121.8 kB / 1.268 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.584e-05/1.167, allocations: 180.2 kB / 1.268 GB, free: 4.199 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.758e-05/1.167, allocations: 188.3 kB / 1.268 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.676e-05/1.167, allocations: 176.3 kB / 1.269 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/1.168, allocations: 485 kB / 1.269 GB, free: 3.297 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.425e-05/1.168, allocations: 105 kB / 1.269 GB, free: 3.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.142e-05/1.168, allocations: 104.9 kB / 1.269 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.698e-05/1.168, allocations: 184.2 kB / 1.269 GB, free: 2.891 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-05/1.168, allocations: 184.3 kB / 1.27 GB, free: 2.703 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.909e-05/1.168, allocations: 184.2 kB / 1.27 GB, free: 2.516 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000126/1.168, allocations: 176.3 kB / 1.27 GB, free: 2.336 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002146/1.168, allocations: 327.5 kB / 1.27 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001559/1.169, allocations: 210.1 kB / 1.27 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.169, allocations: 180.2 kB / 1.271 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/1.169, allocations: 109 kB / 1.271 GB, free: 1.465 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.712e-05/1.169, allocations: 188.2 kB / 1.271 GB, free: 1.273 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.744e-05/1.169, allocations: 101 kB / 1.271 GB, free: 1.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000232/1.169, allocations: 221.9 kB / 1.271 GB, free: 0.9531 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.169, allocations: 4 kB / 1.271 GB, free: 0.9492 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004179/1.17, allocations: 51.84 kB / 1.271 GB, free: 0.8984 MB / 0.9981 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.0005953/1.17, allocations: 0.8631 MB / 1.272 GB, free: 8 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002279/1.17, allocations: 80.84 kB / 1.272 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.17, allocations: 4.188 kB / 1.272 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.543e-06/1.17, allocations: 0 / 1.272 GB, free: 15.93 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000528/1.171, allocations: 476.2 kB / 1.273 GB, free: 15.45 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002821/1.174, allocations: 2.507 MB / 1.275 GB, free: 12.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/1.174, allocations: 0.7398 MB / 1.276 GB, free: 11.99 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001259/1.174, allocations: 33.88 kB / 1.276 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.689e-05/1.174, allocations: 59.41 kB / 1.276 GB, free: 11.9 MB / 1.014 GB Notification: Performance of SimCode: time 2.4e-07/1.174, allocations: 0 / 1.276 GB, free: 11.9 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02206/1.196, allocations: 4.09 MB / 1.28 GB, free: 7.898 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.048/9.244, allocations: 2.594 kB / 1.28 GB, free: 7.898 MB / 1.014 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches