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: translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conAirNoC.outlet.m_flow|conAirWithC.outlet.m_flow|conDryAirNoC.outlet.m_flow|conDryAirWithC.outlet.m_flow|conAirNoC.outlet.forward.T|conAirWithC.outlet.forward.T|conDryAirNoC.outlet.forward.T|conDryAirWithC.outlet.forward.T|conAirNoC.outlet.forward.X_w|conAirWithC.outlet.forward.X_w|conAirWithC.outlet.forward.C.1.|conDryAirWithC.outlet.forward.C.1.|conAirNoC.TAirZon|conAirWithC.TAirZon|conDryAirNoC.TAirZon|conDryAirWithC.TAirZon|conAirNoC.X_wZon|conAirWithC.X_wZon|conAirWithC.CZon.1.|conDryAirWithC.CZon.1.",fileNamePrefix="Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 113.1 kB / 16.41 MB, free: 6.492 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.001194/0.001195, allocations: 183 kB / 17.34 MB, free: 5.762 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 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.251/2.251, allocations: 390.2 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 67.89 kB / 0.9515 GB, free: 7.668 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8638/0.8654, allocations: 140.4 MB / 1.089 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.2877/1.153, allocations: 249 MB / 1.332 GB, free: 4.496 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02725/1.18, allocations: 22.28 MB / 1.354 GB, free: 14.15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002224/1.183, allocations: 55.69 kB / 1.354 GB, free: 14.1 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003065/1.186, allocations: 0.9899 MB / 1.355 GB, free: 13.1 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.004652/1.19, allocations: 1.515 MB / 1.356 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.00517/1.196, allocations: 1.958 MB / 1.358 GB, free: 9.625 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004161/1.2, allocations: 2.699 MB / 1.361 GB, free: 6.914 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/1.202, allocations: 1.328 MB / 1.362 GB, free: 5.551 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002962/1.205, allocations: 1.358 MB / 1.363 GB, free: 4.188 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001732/1.207, allocations: 0.9105 MB / 1.364 GB, free: 3.273 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0002409/1.207, allocations: 116 kB / 1.364 GB, free: 3.16 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003607/1.21, allocations: 1.687 MB / 1.366 GB, free: 1.469 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005194/1.211, allocations: 378.9 kB / 1.366 GB, free: 1.098 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001037/1.212, allocations: 0.6338 MB / 1.367 GB, free: 472 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003601/1.216, allocations: 2.278 MB / 1.369 GB, free: 14.18 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/1.216, allocations: 0 / 1.369 GB, free: 14.18 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.744e-06/1.216, allocations: 0 / 1.369 GB, free: 14.18 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.133e-05/1.216, allocations: 4 kB / 1.369 GB, free: 14.17 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.001998/1.218, allocations: 1.468 MB / 1.37 GB, free: 12.65 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.218, allocations: 8.031 kB / 1.37 GB, free: 12.64 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001051/1.219, allocations: 226.3 kB / 1.371 GB, free: 12.42 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001352/1.22, allocations: 0.9193 MB / 1.372 GB, free: 11.46 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/1.22, allocations: 192.8 kB / 1.372 GB, free: 11.24 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001264/1.221, allocations: 91.94 kB / 1.372 GB, free: 11.15 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001483/1.222, allocations: 0.9285 MB / 1.373 GB, free: 10.19 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.88e-05/1.222, allocations: 7.938 kB / 1.373 GB, free: 10.18 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.947e-05/1.222, allocations: 36 kB / 1.373 GB, free: 10.15 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/1.222, allocations: 27.98 kB / 1.373 GB, free: 10.12 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001074/1.223, allocations: 0.6324 MB / 1.373 GB, free: 9.484 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.004622/1.228, allocations: 4.412 MB / 1.378 GB, free: 4.68 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/1.228, allocations: 190.5 kB / 1.378 GB, free: 4.484 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/1.229, allocations: 144.8 kB / 1.378 GB, free: 4.34 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009409/1.229, allocations: 1.017 MB / 1.379 GB, free: 3.102 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/1.229, allocations: 38.5 kB / 1.379 GB, free: 3.055 MB / 1.107 GB Notification: Performance of pre-optimization done (n=24): time 2.215e-06/1.229, allocations: 0 / 1.379 GB, free: 3.055 MB / 1.107 GB Notification: Performance of matching and sorting (n=24): time 0.001046/1.231, allocations: 471 kB / 1.38 GB, free: 2.59 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/1.231, allocations: 59.41 kB / 1.38 GB, free: 2.52 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001391/1.232, allocations: 1.114 MB / 1.381 GB, free: 1.391 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.904e-05/1.232, allocations: 33.69 kB / 1.381 GB, free: 1.352 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/1.232, allocations: 0.5079 MB / 1.381 GB, free: 0.8398 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.552e-05/1.233, allocations: 82.84 kB / 1.381 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/1.233, allocations: 97.94 kB / 1.381 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001183/1.233, allocations: 326 kB / 1.382 GB, free: 340 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002265/1.233, allocations: 128.7 kB / 1.382 GB, free: 212 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004446/1.234, allocations: 383.1 kB / 1.382 GB, free: 15.72 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005557/1.234, allocations: 467.6 kB / 1.383 GB, free: 15.18 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/1.234, allocations: 4 kB / 1.383 GB, free: 15.17 MB / 1.123 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0009115/1.235, allocations: 0.5432 MB / 1.383 GB, free: 14.62 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.235, allocations: 18.53 kB / 1.383 GB, free: 14.61 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/1.235, allocations: 8 kB / 1.383 GB, free: 14.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/1.235, allocations: 8 kB / 1.383 GB, free: 14.59 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003609/1.235, allocations: 91.83 kB / 1.383 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.224e-05/1.235, allocations: 8 kB / 1.383 GB, free: 14.49 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/1.236, allocations: 106.9 kB / 1.383 GB, free: 14.39 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.285e-05/1.236, allocations: 27.98 kB / 1.383 GB, free: 14.36 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.0003581/1.237, allocations: 289.6 kB / 1.384 GB, free: 14.07 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/1.237, allocations: 102.7 kB / 1.384 GB, free: 13.96 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006854/1.237, allocations: 423.3 kB / 1.384 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/1.237, allocations: 4 kB / 1.384 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/1.237, allocations: 0 / 1.384 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/1.237, allocations: 3.984 kB / 1.384 GB, free: 13.54 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002112/1.24, allocations: 1.55 MB / 1.386 GB, free: 11.88 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/1.24, allocations: 4 kB / 1.386 GB, free: 11.87 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001614/1.24, allocations: 44.42 kB / 1.386 GB, free: 11.83 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.24, allocations: 8 kB / 1.386 GB, free: 11.82 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/1.24, allocations: 12 kB / 1.386 GB, free: 11.81 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/1.24, allocations: 15.92 kB / 1.386 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/1.24, allocations: 4 kB / 1.386 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005825/1.24, allocations: 0.5706 MB / 1.386 GB, free: 11.15 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002894/1.241, allocations: 235.7 kB / 1.387 GB, free: 10.9 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001139/1.241, allocations: 15.98 kB / 1.387 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004013/1.241, allocations: 19.98 kB / 1.387 GB, free: 10.86 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/1.241, allocations: 27.86 kB / 1.387 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.521e-05/1.241, allocations: 11.98 kB / 1.387 GB, free: 10.82 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001022/1.242, allocations: 0.7783 MB / 1.387 GB, free: 10.04 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.242, allocations: 0 / 1.387 GB, free: 10.04 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.000833/1.243, allocations: 283.5 kB / 1.388 GB, free: 9.762 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.0006589/1.244, allocations: 343.6 kB / 1.388 GB, free: 9.422 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006332/1.244, allocations: 336 kB / 1.388 GB, free: 9.094 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.244, allocations: 4 kB / 1.388 GB, free: 9.09 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002009/1.245, allocations: 145.2 kB / 1.389 GB, free: 8.949 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002433/1.247, allocations: 0.5116 MB / 1.389 GB, free: 8.445 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002422/1.25, allocations: 1.615 MB / 1.391 GB, free: 6.734 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007283/1.25, allocations: 1.059 MB / 1.392 GB, free: 5.648 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/1.251, allocations: 71.42 kB / 1.392 GB, free: 5.578 MB / 1.123 GB Notification: Performance of SimCode: time 8.52e-07/1.251, allocations: 4 kB / 1.392 GB, free: 5.574 MB / 1.123 GB Notification: Performance of Templates: time 0.02616/1.277, allocations: 17.22 MB / 1.409 GB, free: 4.496 MB / 1.139 GB make -j1 -f Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile (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 & ./Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/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