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.007224/0.007224, allocations: 103.6 kB / 15.74 MB, free: 6.039 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.001639/0.001639, allocations: 195.8 kB / 16.68 MB, free: 5.953 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.1 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.026/2.026, allocations: 390.2 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.89 kB / 0.9504 GB, free: 8.152 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6845/0.6857, allocations: 140.4 MB / 1.087 GB, free: 5.266 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1896/0.8754, allocations: 170.3 MB / 1.254 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006697/0.8821, allocations: 6.007 MB / 1.26 GB, free: 13.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.8824, allocations: 4 kB / 1.26 GB, free: 13.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.000583/0.883, allocations: 186.7 kB / 1.26 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.8834, allocations: 91.36 kB / 1.26 GB, free: 13.13 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001199/0.8846, allocations: 0.5177 MB / 1.26 GB, free: 12.61 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004421/0.885, allocations: 410.8 kB / 1.261 GB, free: 12.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002624/0.8853, allocations: 143.6 kB / 1.261 GB, free: 12.06 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002876/0.8856, allocations: 195.2 kB / 1.261 GB, free: 11.87 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.8859, allocations: 147.4 kB / 1.261 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.062e-05/0.8859, allocations: 16 kB / 1.261 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007857/0.8867, allocations: 458.8 kB / 1.262 GB, free: 11.26 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 9.285e-05/0.8868, allocations: 67.83 kB / 1.262 GB, free: 11.19 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000114/0.8869, allocations: 103.5 kB / 1.262 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006135/0.8875, allocations: 458.5 kB / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8875, allocations: 0 / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8876, allocations: 4 kB / 1.262 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.8876, allocations: 0 / 1.262 GB, free: 10.64 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.0006209/0.8882, allocations: 0.5246 MB / 1.263 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.8882, allocations: 8.031 kB / 1.263 GB, free: 10.06 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.585e-05/0.8883, allocations: 58.55 kB / 1.263 GB, free: 9.992 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002749/0.8886, allocations: 47.69 kB / 1.263 GB, free: 9.945 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004094/0.889, allocations: 266.5 kB / 1.263 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001449/0.8892, allocations: 135.4 kB / 1.263 GB, free: 9.488 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.199e-05/0.8892, allocations: 20 kB / 1.263 GB, free: 9.469 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004306/0.8897, allocations: 294.8 kB / 1.264 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.8897, allocations: 0 / 1.264 GB, free: 9.141 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.8897, allocations: 15.94 kB / 1.264 GB, free: 9.125 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.8897, allocations: 8 kB / 1.264 GB, free: 9.117 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003085/0.89, allocations: 152.6 kB / 1.264 GB, free: 8.969 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00129/0.8913, allocations: 1.591 MB / 1.265 GB, free: 7.289 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.755e-05/0.8914, allocations: 165.1 kB / 1.266 GB, free: 7.117 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.005e-05/0.8915, allocations: 80.14 kB / 1.266 GB, free: 7.035 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.8915, allocations: 79.28 kB / 1.266 GB, free: 6.957 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.857e-05/0.8915, allocations: 117.7 kB / 1.266 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 9.92e-07/0.8916, allocations: 0 / 1.266 GB, free: 6.832 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 9.114e-05/0.8916, allocations: 41.52 kB / 1.266 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.515e-05/0.8917, allocations: 126.7 kB / 1.266 GB, free: 6.648 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003569/0.8921, allocations: 314.5 kB / 1.266 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.8921, allocations: 25.7 kB / 1.266 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001315/0.8922, allocations: 191.2 kB / 1.266 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.8922, allocations: 0 / 1.266 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.086e-05/0.8923, allocations: 45.61 kB / 1.267 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.8925, allocations: 326.8 kB / 1.267 GB, free: 5.73 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.42e-05/0.8926, allocations: 39.97 kB / 1.267 GB, free: 5.691 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000173/0.8927, allocations: 169 kB / 1.267 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002282/0.893, allocations: 196.9 kB / 1.267 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.893, allocations: 0 / 1.267 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004213/0.8934, allocations: 221.2 kB / 1.267 GB, free: 4.988 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.8934, allocations: 11.94 kB / 1.267 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.8935, allocations: 4 kB / 1.267 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.8935, allocations: 4 kB / 1.267 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.8936, allocations: 43.92 kB / 1.267 GB, free: 4.926 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-05/0.8937, allocations: 4 kB / 1.267 GB, free: 4.922 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001661/0.8938, allocations: 31.62 kB / 1.268 GB, free: 4.891 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.533e-05/0.8939, allocations: 15.98 kB / 1.268 GB, free: 4.875 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.0001537/0.894, allocations: 225.3 kB / 1.268 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.212e-05/0.8941, allocations: 124.8 kB / 1.268 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.584e-05/0.8942, allocations: 121.8 kB / 1.268 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.949e-05/0.8942, allocations: 180.2 kB / 1.268 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.348e-05/0.8943, allocations: 180.2 kB / 1.268 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.063e-05/0.8944, allocations: 188.2 kB / 1.269 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003022/0.8947, allocations: 481.1 kB / 1.269 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.978e-05/0.8947, allocations: 101 kB / 1.269 GB, free: 3.203 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.516e-05/0.8948, allocations: 104.9 kB / 1.269 GB, free: 3.094 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.045e-05/0.8948, allocations: 180.2 kB / 1.269 GB, free: 2.91 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.957e-05/0.8949, allocations: 188.2 kB / 1.27 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.926e-05/0.895, allocations: 184.2 kB / 1.27 GB, free: 2.531 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.978e-05/0.895, allocations: 180.3 kB / 1.27 GB, free: 2.348 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.8952, allocations: 323.4 kB / 1.27 GB, free: 2.008 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001187/0.8953, allocations: 210 kB / 1.27 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.884e-05/0.8954, allocations: 188.2 kB / 1.271 GB, free: 1.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.8955, allocations: 109 kB / 1.271 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.177e-05/0.8956, allocations: 184.2 kB / 1.271 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.8957, allocations: 101 kB / 1.271 GB, free: 1.18 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002369/0.8959, allocations: 217.9 kB / 1.271 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8959, allocations: 0 / 1.271 GB, free: 0.9688 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003651/0.8963, allocations: 51.84 kB / 1.271 GB, free: 0.918 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.0005368/0.8968, allocations: 0.8709 MB / 1.272 GB, free: 20 kB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002096/0.897, allocations: 84.84 kB / 1.272 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8971, allocations: 0 / 1.272 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 1.322e-06/0.8971, allocations: 0 / 1.272 GB, free: 15.94 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004797/0.8975, allocations: 487.2 kB / 1.273 GB, free: 15.46 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002532/0.9001, allocations: 2.499 MB / 1.275 GB, free: 12.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003054/0.9004, allocations: 0.7359 MB / 1.276 GB, free: 12 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001237/0.9005, allocations: 41.88 kB / 1.276 GB, free: 11.96 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.422e-05/0.9006, allocations: 51.42 kB / 1.276 GB, free: 11.91 MB / 1.014 GB Notification: Performance of SimCode: time 3.71e-07/0.9006, allocations: 0 / 1.276 GB, free: 11.91 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.9275, allocations: 4.044 MB / 1.28 GB, free: 7.961 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.424/9.351, allocations: 14.59 kB / 1.28 GB, free: 7.949 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