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.01164/0.01164, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001825/0.001825, allocations: 193 kB / 16.67 MB, free: 5.93 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.539/1.539, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.311/2.311, allocations: 390.2 MB / 0.6648 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 59.91 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.075/1.076, allocations: 140.4 MB / 1.088 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3181/1.394, allocations: 249 MB / 1.331 GB, free: 4.461 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03006/1.424, allocations: 22.27 MB / 1.353 GB, free: 14.12 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002961/1.427, allocations: 55.69 kB / 1.353 GB, free: 14.07 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.003455/1.431, allocations: 0.9859 MB / 1.354 GB, free: 13.08 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005248/1.436, allocations: 1.52 MB / 1.355 GB, free: 11.55 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005711/1.442, allocations: 1.962 MB / 1.357 GB, free: 9.594 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004684/1.447, allocations: 2.706 MB / 1.36 GB, free: 6.879 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002457/1.449, allocations: 1.324 MB / 1.361 GB, free: 5.52 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003799/1.453, allocations: 1.362 MB / 1.362 GB, free: 4.152 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00216/1.455, allocations: 0.9105 MB / 1.363 GB, free: 3.238 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003848/1.456, allocations: 108 kB / 1.363 GB, free: 3.133 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004657/1.46, allocations: 1.703 MB / 1.365 GB, free: 1.426 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0007022/1.461, allocations: 378.9 kB / 1.366 GB, free: 1.055 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001581/1.463, allocations: 0.6299 MB / 1.366 GB, free: 432 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00508/1.468, allocations: 2.278 MB / 1.368 GB, free: 14.14 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/1.468, allocations: 0 / 1.368 GB, free: 14.14 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.455e-06/1.468, allocations: 0 / 1.368 GB, free: 14.14 MB / 1.107 GB Notification: Performance of Transformations before backend: time 7.338e-05/1.468, allocations: 0 / 1.368 GB, free: 14.14 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.003329/1.471, allocations: 1.468 MB / 1.37 GB, free: 12.61 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.468e-05/1.471, allocations: 12.03 kB / 1.37 GB, free: 12.6 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001174/1.472, allocations: 226.4 kB / 1.37 GB, free: 12.38 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001434/1.474, allocations: 0.9232 MB / 1.371 GB, free: 11.41 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001608/1.474, allocations: 188.8 kB / 1.371 GB, free: 11.2 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/1.474, allocations: 91.94 kB / 1.371 GB, free: 11.11 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/1.475, allocations: 0.9323 MB / 1.372 GB, free: 10.15 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.216e-05/1.476, allocations: 3.938 kB / 1.372 GB, free: 10.14 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.881e-05/1.476, allocations: 36 kB / 1.372 GB, free: 10.11 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.106e-05/1.476, allocations: 20 kB / 1.372 GB, free: 10.09 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/1.477, allocations: 0.6363 MB / 1.373 GB, free: 9.449 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.004421/1.481, allocations: 4.42 MB / 1.377 GB, free: 4.637 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003712/1.481, allocations: 186.5 kB / 1.377 GB, free: 4.445 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001931/1.482, allocations: 144.9 kB / 1.377 GB, free: 4.301 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009731/1.483, allocations: 1.021 MB / 1.378 GB, free: 3.059 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.68e-05/1.483, allocations: 38.59 kB / 1.378 GB, free: 3.012 MB / 1.107 GB Notification: Performance of pre-optimization done (n=24): time 2.004e-06/1.483, allocations: 0 / 1.378 GB, free: 3.012 MB / 1.107 GB Notification: Performance of matching and sorting (n=24): time 0.001046/1.484, allocations: 475.7 kB / 1.379 GB, free: 2.543 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.074e-05/1.484, allocations: 55.41 kB / 1.379 GB, free: 2.477 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001315/1.485, allocations: 1.106 MB / 1.38 GB, free: 1.355 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 3.258e-05/1.485, allocations: 33.7 kB / 1.38 GB, free: 1.316 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004053/1.486, allocations: 0.5079 MB / 1.381 GB, free: 0.8047 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 6.063e-05/1.486, allocations: 82.84 kB / 1.381 GB, free: 0.7227 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/1.486, allocations: 105.9 kB / 1.381 GB, free: 0.6133 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.000103/1.486, allocations: 318 kB / 1.381 GB, free: 304 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/1.486, allocations: 132.7 kB / 1.381 GB, free: 172 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004501/1.487, allocations: 387.1 kB / 1.382 GB, free: 15.68 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005717/1.487, allocations: 471.5 kB / 1.382 GB, free: 15.13 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/1.487, allocations: 4 kB / 1.382 GB, free: 15.12 MB / 1.123 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000852/1.488, allocations: 0.5387 MB / 1.383 GB, free: 14.58 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.33e-05/1.488, allocations: 11.94 kB / 1.383 GB, free: 14.57 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/1.488, allocations: 4 kB / 1.383 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.684e-05/1.488, allocations: 8.688 kB / 1.383 GB, free: 14.55 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003429/1.488, allocations: 95.84 kB / 1.383 GB, free: 14.46 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/1.489, allocations: 15.98 kB / 1.383 GB, free: 14.45 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006306/1.489, allocations: 86.95 kB / 1.383 GB, free: 14.36 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.896e-05/1.489, allocations: 27.98 kB / 1.383 GB, free: 14.33 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.000344/1.49, allocations: 289.6 kB / 1.383 GB, free: 14.04 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001287/1.49, allocations: 106.7 kB / 1.383 GB, free: 13.93 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006853/1.49, allocations: 424 kB / 1.384 GB, free: 13.51 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.078e-05/1.49, allocations: 3.984 kB / 1.384 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/1.49, allocations: 4 kB / 1.384 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/1.49, allocations: 3.938 kB / 1.384 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001968/1.492, allocations: 1.546 MB / 1.385 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/1.492, allocations: 4.281 kB / 1.385 GB, free: 11.84 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001604/1.493, allocations: 47.84 kB / 1.385 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.992e-06/1.493, allocations: 4 kB / 1.385 GB, free: 11.79 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/1.493, allocations: 12 kB / 1.385 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/1.493, allocations: 8.5 kB / 1.385 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/1.493, allocations: 12 kB / 1.385 GB, free: 11.75 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005859/1.493, allocations: 0.5736 MB / 1.386 GB, free: 11.11 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002827/1.494, allocations: 243.6 kB / 1.386 GB, free: 10.85 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.726e-05/1.494, allocations: 8 kB / 1.386 GB, free: 10.84 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003936/1.494, allocations: 11.98 kB / 1.386 GB, free: 10.83 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.958e-05/1.494, allocations: 35.84 kB / 1.386 GB, free: 10.8 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.453e-05/1.494, allocations: 16 kB / 1.386 GB, free: 10.78 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009623/1.495, allocations: 0.7822 MB / 1.387 GB, free: 9.992 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.71e-07/1.495, allocations: 0 / 1.387 GB, free: 9.992 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009022/1.496, allocations: 279.5 kB / 1.387 GB, free: 9.719 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.0007134/1.497, allocations: 342.4 kB / 1.387 GB, free: 9.387 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006069/1.497, allocations: 334.1 kB / 1.388 GB, free: 9.062 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/1.497, allocations: 4.062 kB / 1.388 GB, free: 9.059 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0001953/1.498, allocations: 147.7 kB / 1.388 GB, free: 8.914 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002018/1.5, allocations: 0.5165 MB / 1.388 GB, free: 8.402 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002322/1.502, allocations: 1.555 MB / 1.39 GB, free: 6.758 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/1.503, allocations: 1.067 MB / 1.391 GB, free: 5.664 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006319/1.503, allocations: 192.9 kB / 1.391 GB, free: 5.48 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000161/1.503, allocations: 67.42 kB / 1.391 GB, free: 5.414 MB / 1.123 GB Notification: Performance of SimCode: time 5.11e-07/1.503, allocations: 0 / 1.391 GB, free: 5.414 MB / 1.123 GB Notification: Performance of Templates: time 0.03292/1.536, allocations: 18.58 MB / 1.409 GB, free: 3.078 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/jenkins/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