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) 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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001479/0.001479, allocations: 196.4 kB / 16.14 MB, free: 6.711 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.23/1.23, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.421/2.421, allocations: 437 MB / 0.71 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001289, allocations: 67.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4824/0.4837, allocations: 151.6 MB / 1.017 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1516/0.6354, allocations: 168.1 MB / 1.181 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.005587/0.641, allocations: 5.98 MB / 1.187 GB, free: 4.066 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002242/0.6413, allocations: 7.938 kB / 1.187 GB, free: 4.059 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004742/0.6418, allocations: 147.1 kB / 1.187 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000276/0.6421, allocations: 87.48 kB / 1.187 GB, free: 3.828 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.6431, allocations: 486.5 kB / 1.187 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0004547/0.6436, allocations: 474.5 kB / 1.188 GB, free: 2.887 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002287/0.6438, allocations: 142.6 kB / 1.188 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002888/0.6441, allocations: 167.3 kB / 1.188 GB, free: 2.582 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.6443, allocations: 155.3 kB / 1.188 GB, free: 2.43 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.6444, allocations: 12 kB / 1.188 GB, free: 2.418 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007715/0.6451, allocations: 0.5143 MB / 1.189 GB, free: 1.902 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.58e-05/0.6452, allocations: 67.81 kB / 1.189 GB, free: 1.836 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/0.6453, allocations: 103.4 kB / 1.189 GB, free: 1.734 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005912/0.6459, allocations: 470.5 kB / 1.189 GB, free: 1.273 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.646, allocations: 7.938 kB / 1.189 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of FrontEnd: time 7.91e-07/0.646, allocations: 0 / 1.189 GB, free: 1.266 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.646, allocations: 0 / 1.189 GB, free: 1.266 MB / 0.9356 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.0005355/0.6465, allocations: 0.5068 MB / 1.19 GB, free: 0.7109 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.6466, allocations: 16.02 kB / 1.19 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.73e-05/0.6466, allocations: 58.55 kB / 1.19 GB, free: 0.6289 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002543/0.6469, allocations: 43.7 kB / 1.19 GB, free: 0.5859 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002523/0.6471, allocations: 256.3 kB / 1.19 GB, free: 304 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.6473, allocations: 135.3 kB / 1.19 GB, free: 144 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.017e-05/0.6473, allocations: 20 kB / 1.19 GB, free: 124 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.6477, allocations: 298.8 kB / 1.191 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.6477, allocations: 0 / 1.191 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.101e-05/0.6478, allocations: 8 kB / 1.191 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.496e-06/0.6478, allocations: 8 kB / 1.191 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002868/0.6481, allocations: 164.6 kB / 1.191 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001204/0.6493, allocations: 1.583 MB / 1.192 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.575e-05/0.6494, allocations: 169.1 kB / 1.193 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.6494, allocations: 80.14 kB / 1.193 GB, free: 13.69 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.6494, allocations: 79.28 kB / 1.193 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.245e-05/0.6495, allocations: 113.8 kB / 1.193 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.6495, allocations: 3.938 kB / 1.193 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.019e-05/0.6496, allocations: 49.44 kB / 1.193 GB, free: 13.43 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.6496, allocations: 130.7 kB / 1.193 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003224/0.6499, allocations: 314.5 kB / 1.193 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.158e-06/0.65, allocations: 25.7 kB / 1.193 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.6501, allocations: 187.2 kB / 1.194 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.6501, allocations: 7.984 kB / 1.194 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.853e-05/0.6502, allocations: 45.58 kB / 1.194 GB, free: 12.69 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001029/0.6503, allocations: 330.8 kB / 1.194 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.651e-05/0.6504, allocations: 35.97 kB / 1.194 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.6505, allocations: 157.1 kB / 1.194 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002061/0.6507, allocations: 196.9 kB / 1.194 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.6507, allocations: 4 kB / 1.194 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003904/0.6511, allocations: 217.3 kB / 1.194 GB, free: 11.63 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.6512, allocations: 11.94 kB / 1.194 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.6512, allocations: 4 kB / 1.194 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.6512, allocations: 8 kB / 1.195 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.6513, allocations: 35.92 kB / 1.195 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.6514, allocations: 11.98 kB / 1.195 GB, free: 11.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001727/0.6515, allocations: 35.58 kB / 1.195 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.236e-05/0.6516, allocations: 15.94 kB / 1.195 GB, free: 11.51 MB / 0.9512 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.0001249/0.6517, allocations: 221.8 kB / 1.195 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.487e-05/0.6518, allocations: 124.7 kB / 1.195 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.6518, allocations: 121.8 kB / 1.195 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.017e-05/0.6519, allocations: 184.3 kB / 1.195 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.123e-05/0.652, allocations: 180.2 kB / 1.195 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.927e-05/0.652, allocations: 180.3 kB / 1.196 GB, free: 10.47 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.6523, allocations: 481.1 kB / 1.196 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.89e-05/0.6523, allocations: 101 kB / 1.196 GB, free: 9.836 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.555e-05/0.6524, allocations: 117 kB / 1.196 GB, free: 9.715 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.932e-05/0.6524, allocations: 184.1 kB / 1.196 GB, free: 9.527 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.6525, allocations: 176.3 kB / 1.197 GB, free: 9.348 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.952e-05/0.6525, allocations: 184.2 kB / 1.197 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.005e-05/0.6526, allocations: 180.3 kB / 1.197 GB, free: 8.977 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.6527, allocations: 323.5 kB / 1.197 GB, free: 8.637 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.6528, allocations: 205.8 kB / 1.197 GB, free: 8.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/0.6529, allocations: 192.1 kB / 1.198 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.653, allocations: 101 kB / 1.198 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.015e-05/0.6531, allocations: 180.2 kB / 1.198 GB, free: 7.926 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.402e-05/0.6531, allocations: 113 kB / 1.198 GB, free: 7.809 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002168/0.6533, allocations: 217.9 kB / 1.198 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6534, allocations: 0 / 1.198 GB, free: 7.602 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003351/0.6537, allocations: 55.94 kB / 1.198 GB, free: 7.547 MB / 0.9512 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.0004989/0.6542, allocations: 0.8708 MB / 1.199 GB, free: 6.648 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.6544, allocations: 77.27 kB / 1.199 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.6544, allocations: 0 / 1.199 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.342e-06/0.6544, allocations: 0 / 1.199 GB, free: 6.574 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004677/0.6549, allocations: 0.5443 MB / 1.2 GB, free: 6.023 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.6572, allocations: 2.58 MB / 1.202 GB, free: 3.258 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.6575, allocations: 0.7359 MB / 1.203 GB, free: 2.496 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001464/0.6577, allocations: 33.94 kB / 1.203 GB, free: 2.461 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.258e-05/0.6577, allocations: 59.42 kB / 1.203 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of SimCode: time 4.61e-07/0.6577, allocations: 0 / 1.203 GB, free: 2.406 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01285/0.6706, allocations: 3.792 MB / 1.207 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000171/0.6708, allocations: 217.6 kB / 1.207 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.426, allocations: 0 / 1.207 GB, free: 14.45 MB / 0.9669 GB (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 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_FMI_Conversion_Validation_AirToOutlet.fmu > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches