Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.AirToOutletFlowReversal,fileNamePrefix="Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,fileNamePrefix="Buildings_9_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.004535/0.004535, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001059/0.001059, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 15.16 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.181/2.181, allocations: 390.3 MB / 0.6648 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 75.88 kB / 0.9504 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6437/0.6449, allocations: 140.4 MB / 1.087 GB, free: 5.301 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2496/0.8946, allocations: 249 MB / 1.331 GB, free: 4.602 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02426/0.9189, allocations: 22.26 MB / 1.352 GB, free: 14.27 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001221/0.9201, allocations: 55.69 kB / 1.352 GB, free: 14.22 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.002284/0.9225, allocations: 0.9742 MB / 1.353 GB, free: 13.24 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.00333/0.9258, allocations: 1.48 MB / 1.355 GB, free: 11.75 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.004023/0.9298, allocations: 1.93 MB / 1.357 GB, free: 9.824 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.002802/0.9327, allocations: 2.694 MB / 1.359 GB, free: 7.117 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001484/0.9342, allocations: 1.32 MB / 1.361 GB, free: 5.762 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.9361, allocations: 1.343 MB / 1.362 GB, free: 4.414 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001/0.9371, allocations: 0.9105 MB / 1.363 GB, free: 3.5 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001344/0.9372, allocations: 108 kB / 1.363 GB, free: 3.395 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002581/0.9398, allocations: 1.68 MB / 1.365 GB, free: 1.711 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0003199/0.9402, allocations: 374.9 kB / 1.365 GB, free: 1.344 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0005563/0.9407, allocations: 0.6416 MB / 1.366 GB, free: 0.6992 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.9431, allocations: 2.278 MB / 1.368 GB, free: 14.41 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.9431, allocations: 0 / 1.368 GB, free: 14.41 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.372e-06/0.9431, allocations: 0 / 1.368 GB, free: 14.41 MB / 1.107 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.9431, allocations: 0 / 1.368 GB, free: 14.41 MB / 1.107 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.001842/0.9449, allocations: 1.472 MB / 1.369 GB, free: 12.89 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.945, allocations: 12.03 kB / 1.369 GB, free: 12.88 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.9451, allocations: 139.5 kB / 1.369 GB, free: 12.73 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001055/0.9462, allocations: 222.4 kB / 1.37 GB, free: 12.51 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.9476, allocations: 0.9232 MB / 1.37 GB, free: 11.55 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.9478, allocations: 180.8 kB / 1.371 GB, free: 11.34 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001196/0.9479, allocations: 99.94 kB / 1.371 GB, free: 11.25 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.9493, allocations: 0.9362 MB / 1.372 GB, free: 10.28 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.9494, allocations: 0 / 1.372 GB, free: 10.28 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.179e-05/0.9494, allocations: 36 kB / 1.372 GB, free: 10.24 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.583e-05/0.9495, allocations: 24 kB / 1.372 GB, free: 10.22 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001092/0.9506, allocations: 0.6285 MB / 1.372 GB, free: 9.586 MB / 1.107 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.004162/0.9547, allocations: 4.427 MB / 1.377 GB, free: 4.766 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003516/0.9551, allocations: 186.6 kB / 1.377 GB, free: 4.574 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.9553, allocations: 146.5 kB / 1.377 GB, free: 4.43 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009059/0.9562, allocations: 1.017 MB / 1.378 GB, free: 3.191 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.9563, allocations: 42.48 kB / 1.378 GB, free: 3.141 MB / 1.107 GB Notification: Performance of pre-optimization done (n=24): time 1.623e-06/0.9563, allocations: 4 kB / 1.378 GB, free: 3.137 MB / 1.107 GB Notification: Performance of matching and sorting (n=24): time 0.0009758/0.9572, allocations: 459 kB / 1.378 GB, free: 2.684 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.9573, allocations: 55.41 kB / 1.378 GB, free: 2.617 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.9586, allocations: 1.118 MB / 1.38 GB, free: 1.484 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.455e-05/0.9587, allocations: 33.7 kB / 1.38 GB, free: 1.445 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003758/0.959, allocations: 0.5078 MB / 1.38 GB, free: 0.9336 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.035e-05/0.9591, allocations: 90.75 kB / 1.38 GB, free: 0.8438 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.9593, allocations: 94.03 kB / 1.38 GB, free: 0.7461 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.9594, allocations: 329.9 kB / 1.381 GB, free: 428 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000231/0.9596, allocations: 128.8 kB / 1.381 GB, free: 300 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000431/0.9601, allocations: 387.1 kB / 1.381 GB, free: 15.8 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005716/0.9606, allocations: 467.6 kB / 1.382 GB, free: 15.26 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.9606, allocations: 4 kB / 1.382 GB, free: 15.25 MB / 1.123 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008719/0.9615, allocations: 0.535 MB / 1.382 GB, free: 14.71 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.9615, allocations: 11.94 kB / 1.382 GB, free: 14.7 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.351e-05/0.9616, allocations: 8 kB / 1.382 GB, free: 14.69 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.9616, allocations: 8 kB / 1.382 GB, free: 14.68 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/0.962, allocations: 91.83 kB / 1.382 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.962, allocations: 12.5 kB / 1.382 GB, free: 14.58 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000608/0.9626, allocations: 102.9 kB / 1.382 GB, free: 14.48 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.9627, allocations: 28.27 kB / 1.382 GB, free: 14.45 MB / 1.123 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.0003377/0.963, allocations: 285.6 kB / 1.383 GB, free: 14.16 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.9631, allocations: 106.7 kB / 1.383 GB, free: 14.06 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.9638, allocations: 428.7 kB / 1.383 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/0.9639, allocations: 4 kB / 1.383 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.9639, allocations: 0 / 1.383 GB, free: 13.63 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.109e-06/0.9639, allocations: 3.984 kB / 1.383 GB, free: 13.62 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002047/0.9659, allocations: 1.554 MB / 1.385 GB, free: 11.96 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.966, allocations: 7.938 kB / 1.385 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001742/0.9661, allocations: 39.92 kB / 1.385 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.246e-06/0.9661, allocations: 8 kB / 1.385 GB, free: 11.91 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.9662, allocations: 8 kB / 1.385 GB, free: 11.9 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.374e-05/0.9662, allocations: 12.05 kB / 1.385 GB, free: 11.89 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.9662, allocations: 11.94 kB / 1.385 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006017/0.9668, allocations: 0.5748 MB / 1.385 GB, free: 11.23 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003145/0.9671, allocations: 231.8 kB / 1.385 GB, free: 10.98 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001222/0.9673, allocations: 15.98 kB / 1.385 GB, free: 10.97 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004363/0.9677, allocations: 15.98 kB / 1.386 GB, free: 10.95 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.876e-05/0.9678, allocations: 31.86 kB / 1.386 GB, free: 10.92 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.243e-05/0.9678, allocations: 11.98 kB / 1.386 GB, free: 10.91 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009731/0.9688, allocations: 0.7783 MB / 1.386 GB, free: 10.12 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.623e-06/0.9688, allocations: 0 / 1.386 GB, free: 10.12 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0007681/0.9696, allocations: 287.5 kB / 1.387 GB, free: 9.844 MB / 1.123 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.001321/0.9709, allocations: 1.332 MB / 1.388 GB, free: 8.438 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0005782/0.9715, allocations: 352.6 kB / 1.388 GB, free: 8.094 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.9715, allocations: 0 / 1.388 GB, free: 8.094 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.9717, allocations: 135.8 kB / 1.388 GB, free: 7.961 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002282/0.974, allocations: 0.508 MB / 1.389 GB, free: 7.461 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008908/0.9829, allocations: 7.408 MB / 1.396 GB, free: 15.64 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006109/0.9835, allocations: 1.059 MB / 1.397 GB, free: 14.55 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.0005754/0.9841, allocations: 204.9 kB / 1.397 GB, free: 14.36 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004342/0.9846, allocations: 363.3 kB / 1.398 GB, free: 14 MB / 1.139 GB Notification: Performance of SimCode: time 2.5e-07/0.9846, allocations: 0 / 1.398 GB, free: 14 MB / 1.139 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04907/1.034, allocations: 28.03 MB / 1.425 GB, free: 2.355 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.296/10.33, allocations: 11.81 kB / 1.425 GB, free: 2.348 MB / 1.154 GB (rm -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_9_Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.fmu > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches