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.001087/0.001087, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.008643/0.008643, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.327/1.327, allocations: 223.3 MB / 240.3 MB, free: 5.363 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.524/2.524, allocations: 437.8 MB / 0.7121 GB, free: 6.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000332/0.0003321, allocations: 12 kB / 0.8729 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5818/0.5822, allocations: 153.8 MB / 1.023 GB, free: 15.9 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutlet): time 0.1662/0.7484, allocations: 165.9 MB / 1.185 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006125/0.7546, allocations: 5.899 MB / 1.191 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002472/0.7548, allocations: 11.94 kB / 1.191 GB, free: 3.473 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0004956/0.7553, allocations: 151 kB / 1.191 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0002905/0.7556, allocations: 79.56 kB / 1.191 GB, free: 3.246 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.7567, allocations: 498.5 kB / 1.192 GB, free: 2.758 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005208/0.7573, allocations: 470.5 kB / 1.192 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.7575, allocations: 131.6 kB / 1.192 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003039/0.7578, allocations: 163.4 kB / 1.192 GB, free: 2.004 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002066/0.758, allocations: 135.3 kB / 1.192 GB, free: 1.871 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.15e-05/0.7581, allocations: 8 kB / 1.192 GB, free: 1.863 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000799/0.7589, allocations: 0.5064 MB / 1.193 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.935e-05/0.759, allocations: 59.77 kB / 1.193 GB, free: 1.297 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.7591, allocations: 117.2 kB / 1.193 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0006126/0.7597, allocations: 458.6 kB / 1.194 GB, free: 0.7266 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.7597, allocations: 4 kB / 1.194 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.353e-06/0.7597, allocations: 0 / 1.194 GB, free: 0.7227 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.7597, allocations: 0 / 1.194 GB, free: 0.7227 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.0005207/0.7603, allocations: 479 kB / 1.194 GB, free: 212 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.7603, allocations: 8.031 kB / 1.194 GB, free: 204 kB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.887e-05/0.7604, allocations: 62.53 kB / 1.194 GB, free: 132 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.7606, allocations: 43.7 kB / 1.194 GB, free: 88 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.7609, allocations: 258.6 kB / 1.194 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001255/0.7611, allocations: 131.4 kB / 1.195 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.179e-05/0.7611, allocations: 20 kB / 1.195 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.7615, allocations: 302.6 kB / 1.195 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.908e-06/0.7616, allocations: 4 kB / 1.195 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.7616, allocations: 8 kB / 1.195 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.826e-06/0.7616, allocations: 8 kB / 1.195 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003031/0.7619, allocations: 164.6 kB / 1.195 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001273/0.7632, allocations: 1.579 MB / 1.197 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.063e-05/0.7633, allocations: 165.1 kB / 1.197 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.7633, allocations: 84.14 kB / 1.197 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.758e-05/0.7633, allocations: 75.28 kB / 1.197 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.7634, allocations: 121.7 kB / 1.197 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.192e-06/0.7634, allocations: 0 / 1.197 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.877e-05/0.7635, allocations: 41.52 kB / 1.197 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.7635, allocations: 130.7 kB / 1.197 GB, free: 12.79 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.7639, allocations: 310.5 kB / 1.197 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.508e-06/0.7639, allocations: 25.7 kB / 1.197 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001134/0.764, allocations: 187.2 kB / 1.198 GB, free: 12.25 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-06/0.764, allocations: 12 kB / 1.198 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.493e-05/0.7641, allocations: 21.7 kB / 1.198 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.7642, allocations: 326.8 kB / 1.198 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.486e-05/0.7643, allocations: 47.86 kB / 1.198 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.7645, allocations: 161.1 kB / 1.198 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002173/0.7647, allocations: 196.9 kB / 1.198 GB, free: 11.37 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.7647, allocations: 4 kB / 1.198 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003941/0.7651, allocations: 221.5 kB / 1.199 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.7651, allocations: 11.94 kB / 1.199 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.7651, allocations: 8 kB / 1.199 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.7652, allocations: 4 kB / 1.199 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.7653, allocations: 39.91 kB / 1.199 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.7653, allocations: 8 kB / 1.199 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001645/0.7655, allocations: 31.62 kB / 1.199 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.7655, allocations: 12 kB / 1.199 GB, free: 11.03 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.0001337/0.7657, allocations: 221.5 kB / 1.199 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.769e-05/0.7658, allocations: 128.6 kB / 1.199 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.684e-05/0.7658, allocations: 125.8 kB / 1.199 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.667e-05/0.7659, allocations: 180.2 kB / 1.199 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.637e-05/0.7659, allocations: 180.2 kB / 1.199 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.552e-05/0.766, allocations: 180.2 kB / 1.2 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.7663, allocations: 481.1 kB / 1.2 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-05/0.7663, allocations: 109 kB / 1.2 GB, free: 9.344 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.754e-05/0.7664, allocations: 108.9 kB / 1.2 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.977e-05/0.7665, allocations: 180.2 kB / 1.2 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.7665, allocations: 180.2 kB / 1.201 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.717e-05/0.7666, allocations: 192.2 kB / 1.201 GB, free: 8.668 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-05/0.7666, allocations: 180.3 kB / 1.201 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.7668, allocations: 319.6 kB / 1.201 GB, free: 8.148 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.7669, allocations: 209.8 kB / 1.202 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.082e-05/0.767, allocations: 180.2 kB / 1.202 GB, free: 7.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.7671, allocations: 105 kB / 1.202 GB, free: 7.625 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.7672, allocations: 184.2 kB / 1.202 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.7672, allocations: 105 kB / 1.202 GB, free: 7.328 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002245/0.7674, allocations: 213.9 kB / 1.202 GB, free: 7.125 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7674, allocations: 4 kB / 1.202 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003416/0.7678, allocations: 55.84 kB / 1.202 GB, free: 7.066 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.0004871/0.7683, allocations: 0.8673 MB / 1.203 GB, free: 6.172 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000172/0.7685, allocations: 75.78 kB / 1.203 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.7685, allocations: 0 / 1.203 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.302e-06/0.7685, allocations: 1.25 kB / 1.203 GB, free: 6.098 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004782/0.769, allocations: 0.5481 MB / 1.204 GB, free: 5.543 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.7713, allocations: 2.587 MB / 1.206 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.7716, allocations: 0.7359 MB / 1.207 GB, free: 2.008 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.000141/0.7718, allocations: 33.94 kB / 1.207 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.7719, allocations: 55.42 kB / 1.207 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.7719, allocations: 0 / 1.207 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.312/2.084, allocations: 3.729 MB / 1.211 GB, free: 14.33 MB / 0.9669 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002165/2.085, allocations: 211.9 kB / 1.211 GB, free: 14.07 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/3.773, allocations: 0 / 1.211 GB, free: 14.07 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