Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",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.004493/0.004493, allocations: 100.5 kB / 15.73 MB, free: 6.02 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.001276/0.001276, allocations: 189.7 kB / 16.67 MB, free: 5.938 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.417/1.417, 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 11.1.0-maint.11.x/package.mo): time 2.787/2.787, allocations: 469.8 MB / 0.7425 GB, free: 3.348 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002113/0.002113, allocations: 64.05 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6435/0.6456, allocations: 159.1 MB / 1.22 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.29/0.9356, allocations: 249 MB / 1.463 GB, free: 8.191 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02732/0.963, allocations: 22.28 MB / 1.485 GB, free: 1.844 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000935/0.9639, allocations: 51.69 kB / 1.485 GB, free: 1.793 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002201/0.9662, allocations: 0.9781 MB / 1.486 GB, free: 0.8086 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.003082/0.9693, allocations: 1.467 MB / 1.488 GB, free: 15.34 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.004228/0.9735, allocations: 1.936 MB / 1.489 GB, free: 13.4 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.003057/0.9766, allocations: 2.702 MB / 1.492 GB, free: 10.69 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001738/0.9783, allocations: 1.313 MB / 1.493 GB, free: 9.332 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002136/0.9805, allocations: 1.339 MB / 1.495 GB, free: 7.988 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001198/0.9817, allocations: 0.9143 MB / 1.496 GB, free: 7.07 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.9818, allocations: 108 kB / 1.496 GB, free: 6.965 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.9848, allocations: 1.683 MB / 1.497 GB, free: 5.277 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0003937/0.9852, allocations: 378.9 kB / 1.498 GB, free: 4.906 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.0006629/0.9859, allocations: 0.6376 MB / 1.498 GB, free: 4.266 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.9888, allocations: 2.281 MB / 1.5 GB, free: 1.977 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.9888, allocations: 0 / 1.5 GB, free: 1.977 MB / 1.217 GB Notification: Performance of FrontEnd: time 3.486e-06/0.9888, allocations: 0 / 1.5 GB, free: 1.977 MB / 1.217 GB Notification: Performance of Transformations before backend: time 1.22e-05/0.9888, allocations: 3.938 kB / 1.5 GB, free: 1.973 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 224 * Number of variables: 224 Notification: Performance of Generate backend data structure: time 0.002085/0.9909, allocations: 1.509 MB / 1.502 GB, free: 420 kB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.991, allocations: 12.03 kB / 1.502 GB, free: 408 kB / 1.217 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001803/0.9911, allocations: 139.5 kB / 1.502 GB, free: 260 kB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.9922, allocations: 239 kB / 1.502 GB, free: 20 kB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.9938, allocations: 0.9163 MB / 1.503 GB, free: 15.06 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001843/0.9939, allocations: 180.8 kB / 1.503 GB, free: 14.86 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.9941, allocations: 103.9 kB / 1.503 GB, free: 14.76 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001599/0.9957, allocations: 0.9246 MB / 1.504 GB, free: 13.8 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.205e-05/0.9957, allocations: 4 kB / 1.504 GB, free: 13.79 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.871e-05/0.9958, allocations: 36 kB / 1.504 GB, free: 13.76 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.9958, allocations: 24 kB / 1.504 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.9971, allocations: 0.6285 MB / 1.505 GB, free: 13.11 MB / 1.232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004866/1.002, allocations: 4.441 MB / 1.509 GB, free: 8.27 MB / 1.232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/1.002, allocations: 202.6 kB / 1.51 GB, free: 8.062 MB / 1.232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/1.003, allocations: 140.8 kB / 1.51 GB, free: 7.922 MB / 1.232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001076/1.004, allocations: 1.017 MB / 1.511 GB, free: 6.684 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/1.004, allocations: 38.5 kB / 1.511 GB, free: 6.637 MB / 1.232 GB Notification: Performance of pre-optimization done (n=24): time 1.512e-06/1.004, allocations: 0 / 1.511 GB, free: 6.637 MB / 1.232 GB Notification: Performance of matching and sorting (n=24): time 0.001072/1.005, allocations: 475.5 kB / 1.511 GB, free: 6.168 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/1.005, allocations: 51.41 kB / 1.511 GB, free: 6.105 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001524/1.006, allocations: 1.114 MB / 1.512 GB, free: 4.977 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 4.454e-05/1.006, allocations: 33.7 kB / 1.512 GB, free: 4.938 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004817/1.007, allocations: 0.5165 MB / 1.513 GB, free: 4.418 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 8.212e-05/1.007, allocations: 95.14 kB / 1.513 GB, free: 4.324 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001757/1.007, allocations: 94.03 kB / 1.513 GB, free: 4.227 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001479/1.007, allocations: 322 kB / 1.513 GB, free: 3.906 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/1.008, allocations: 132.8 kB / 1.514 GB, free: 3.777 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005071/1.008, allocations: 384.2 kB / 1.514 GB, free: 3.293 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006738/1.009, allocations: 475.5 kB / 1.514 GB, free: 2.742 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.009, allocations: 0 / 1.514 GB, free: 2.742 MB / 1.232 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009802/1.01, allocations: 0.5393 MB / 1.515 GB, free: 2.195 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/1.01, allocations: 12.62 kB / 1.515 GB, free: 2.184 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/1.01, allocations: 8 kB / 1.515 GB, free: 2.176 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/1.01, allocations: 12 kB / 1.515 GB, free: 2.164 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003694/1.01, allocations: 87.83 kB / 1.515 GB, free: 2.078 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.01, allocations: 11.94 kB / 1.515 GB, free: 2.066 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006081/1.011, allocations: 99.27 kB / 1.515 GB, free: 1.969 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.811e-05/1.011, allocations: 28 kB / 1.515 GB, free: 1.941 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (48): * Single equations (assignments): 48 * 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.0003794/1.011, allocations: 289.6 kB / 1.515 GB, free: 1.648 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001534/1.012, allocations: 111.2 kB / 1.515 GB, free: 1.539 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007631/1.012, allocations: 421.6 kB / 1.516 GB, free: 1.121 MB / 1.232 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/1.012, allocations: 4 kB / 1.516 GB, free: 1.117 MB / 1.232 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/1.012, allocations: 0 / 1.516 GB, free: 1.117 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/1.012, allocations: 0 / 1.516 GB, free: 1.117 MB / 1.232 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/1.015, allocations: 1.566 MB / 1.517 GB, free: 15.44 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/1.015, allocations: 8.219 kB / 1.517 GB, free: 15.43 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000183/1.015, allocations: 39.92 kB / 1.517 GB, free: 15.39 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.142e-06/1.015, allocations: 4 kB / 1.517 GB, free: 15.39 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.325e-05/1.015, allocations: 12.56 kB / 1.517 GB, free: 15.38 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/1.015, allocations: 8 kB / 1.517 GB, free: 15.37 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/1.015, allocations: 7.938 kB / 1.517 GB, free: 15.36 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007174/1.016, allocations: 0.5859 MB / 1.518 GB, free: 14.71 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003178/1.016, allocations: 236.3 kB / 1.518 GB, free: 14.46 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/1.016, allocations: 11.98 kB / 1.518 GB, free: 14.45 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004321/1.017, allocations: 15.98 kB / 1.518 GB, free: 14.43 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/1.017, allocations: 31.86 kB / 1.518 GB, free: 14.4 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/1.017, allocations: 16 kB / 1.518 GB, free: 14.38 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001117/1.018, allocations: 0.7783 MB / 1.519 GB, free: 13.6 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.51e-07/1.018, allocations: 0 / 1.519 GB, free: 13.6 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.0007856/1.019, allocations: 283.4 kB / 1.519 GB, free: 13.32 MB / 1.248 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001572/1.02, allocations: 1.351 MB / 1.521 GB, free: 11.89 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.0006412/1.021, allocations: 339.9 kB / 1.521 GB, free: 11.56 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.021, allocations: 3.938 kB / 1.521 GB, free: 11.56 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.0002282/1.021, allocations: 138 kB / 1.521 GB, free: 11.43 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002389/1.023, allocations: 0.5265 MB / 1.522 GB, free: 10.91 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01022/1.034, allocations: 7.438 MB / 1.529 GB, free: 3.062 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007807/1.034, allocations: 1.059 MB / 1.53 GB, free: 1.977 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.0006049/1.035, allocations: 199.9 kB / 1.53 GB, free: 1.785 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005062/1.036, allocations: 363.3 kB / 1.531 GB, free: 1.43 MB / 1.248 GB Notification: Performance of SimCode: time 2.224e-06/1.036, allocations: 0 / 1.531 GB, free: 1.43 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05817/1.094, allocations: 28.04 MB / 1.558 GB, free: 5.766 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.848/10.94, allocations: 7.875 kB / 1.558 GB, free: 5.758 MB / 1.279 GB (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches