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.007547/0.007547, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001534/0.001535, allocations: 193.5 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.12 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.402/2.402, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001528/0.001528, allocations: 71.88 kB / 0.9509 GB, free: 7.629 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157/1.158, 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.3579/1.516, allocations: 249 MB / 1.331 GB, free: 4.488 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.03077/1.547, allocations: 22.27 MB / 1.353 GB, free: 14.15 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002509/1.55, allocations: 51.69 kB / 1.353 GB, free: 14.1 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004182/1.554, allocations: 0.9899 MB / 1.354 GB, free: 13.1 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005532/1.559, allocations: 1.515 MB / 1.355 GB, free: 11.58 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006416/1.566, allocations: 1.962 MB / 1.357 GB, free: 9.625 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.004989/1.571, allocations: 2.698 MB / 1.36 GB, free: 6.914 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002005/1.573, allocations: 1.324 MB / 1.361 GB, free: 5.555 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003225/1.576, allocations: 1.37 MB / 1.362 GB, free: 4.18 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/1.578, allocations: 0.9066 MB / 1.363 GB, free: 3.27 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/1.578, allocations: 108 kB / 1.363 GB, free: 3.164 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004003/1.582, allocations: 1.695 MB / 1.365 GB, free: 1.465 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0004196/1.582, allocations: 382.9 kB / 1.366 GB, free: 1.09 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0008368/1.583, allocations: 0.6338 MB / 1.366 GB, free: 464 kB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003927/1.587, allocations: 2.285 MB / 1.368 GB, free: 14.16 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 8.766e-06/1.587, allocations: 0 / 1.368 GB, free: 14.16 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.753e-06/1.587, allocations: 3.938 kB / 1.368 GB, free: 14.16 MB / 1.107 GB Notification: Performance of Transformations before backend: time 3.234e-05/1.587, allocations: 0 / 1.368 GB, free: 14.16 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.002889/1.59, allocations: 1.509 MB / 1.37 GB, free: 12.59 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.59, allocations: 8.031 kB / 1.37 GB, free: 12.58 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001268/1.591, allocations: 227.1 kB / 1.37 GB, free: 12.36 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001756/1.593, allocations: 0.9318 MB / 1.371 GB, free: 11.39 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002021/1.593, allocations: 184.8 kB / 1.371 GB, free: 11.18 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/1.593, allocations: 95.94 kB / 1.371 GB, free: 11.09 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001575/1.595, allocations: 0.9285 MB / 1.372 GB, free: 10.12 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.456e-05/1.595, allocations: 3.938 kB / 1.372 GB, free: 10.12 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.523e-05/1.595, allocations: 36 kB / 1.372 GB, free: 10.09 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/1.595, allocations: 24 kB / 1.372 GB, free: 10.06 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001117/1.596, allocations: 0.6324 MB / 1.373 GB, free: 9.426 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.005013/1.601, allocations: 4.433 MB / 1.377 GB, free: 4.602 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004073/1.602, allocations: 190.5 kB / 1.377 GB, free: 4.406 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002078/1.602, allocations: 146.5 kB / 1.377 GB, free: 4.262 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/1.603, allocations: 1.021 MB / 1.378 GB, free: 3.02 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/1.603, allocations: 38.59 kB / 1.379 GB, free: 2.973 MB / 1.107 GB Notification: Performance of pre-optimization done (n=24): time 1.954e-06/1.603, allocations: 8 kB / 1.379 GB, free: 2.965 MB / 1.107 GB Notification: Performance of matching and sorting (n=24): time 0.001121/1.604, allocations: 469.3 kB / 1.379 GB, free: 2.5 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.649e-05/1.604, allocations: 51.41 kB / 1.379 GB, free: 2.438 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001461/1.606, allocations: 1.106 MB / 1.38 GB, free: 1.316 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.142e-05/1.606, allocations: 33.7 kB / 1.38 GB, free: 1.277 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004922/1.606, allocations: 0.5165 MB / 1.381 GB, free: 0.7578 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 7.702e-05/1.606, allocations: 95.25 kB / 1.381 GB, free: 0.6641 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001713/1.606, allocations: 98.03 kB / 1.381 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001271/1.607, allocations: 318 kB / 1.381 GB, free: 252 kB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000246/1.607, allocations: 136.7 kB / 1.381 GB, free: 116 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004589/1.607, allocations: 383.1 kB / 1.382 GB, free: 15.62 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005901/1.608, allocations: 471.6 kB / 1.382 GB, free: 15.08 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.608, allocations: 0 / 1.382 GB, free: 15.08 MB / 1.123 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000913/1.609, allocations: 0.5471 MB / 1.383 GB, free: 14.52 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/1.609, allocations: 11.94 kB / 1.383 GB, free: 14.51 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.609, allocations: 8 kB / 1.383 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.343e-05/1.609, allocations: 8 kB / 1.383 GB, free: 14.5 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/1.609, allocations: 92.45 kB / 1.383 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.809e-05/1.609, allocations: 8 kB / 1.383 GB, free: 14.4 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000667/1.61, allocations: 107.2 kB / 1.383 GB, free: 14.29 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.135e-05/1.61, allocations: 20 kB / 1.383 GB, free: 14.27 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.0003737/1.61, allocations: 293.6 kB / 1.383 GB, free: 13.98 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/1.611, allocations: 111.2 kB / 1.383 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007069/1.611, allocations: 429.4 kB / 1.384 GB, free: 13.44 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/1.611, allocations: 4 kB / 1.384 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/1.611, allocations: 0 / 1.384 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/1.611, allocations: 0 / 1.384 GB, free: 13.43 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002141/1.614, allocations: 1.546 MB / 1.385 GB, free: 11.78 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/1.614, allocations: 4 kB / 1.385 GB, free: 11.77 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001703/1.614, allocations: 47.92 kB / 1.385 GB, free: 11.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.057e-05/1.614, allocations: 12 kB / 1.385 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.075e-05/1.614, allocations: 4 kB / 1.385 GB, free: 11.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/1.614, allocations: 15.92 kB / 1.385 GB, free: 11.7 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.614, allocations: 4 kB / 1.385 GB, free: 11.69 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006569/1.614, allocations: 0.5896 MB / 1.386 GB, free: 11.04 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003449/1.615, allocations: 244.3 kB / 1.386 GB, free: 10.78 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001271/1.615, allocations: 15.98 kB / 1.386 GB, free: 10.76 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004215/1.615, allocations: 15.98 kB / 1.386 GB, free: 10.75 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/1.615, allocations: 31.86 kB / 1.386 GB, free: 10.71 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.307e-05/1.615, allocations: 12 kB / 1.386 GB, free: 10.7 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.0009698/1.616, allocations: 0.7783 MB / 1.387 GB, free: 9.918 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.6e-07/1.616, allocations: 0 / 1.387 GB, free: 9.918 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.0009294/1.617, allocations: 287.4 kB / 1.387 GB, free: 9.637 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.0007144/1.618, allocations: 344.7 kB / 1.387 GB, free: 9.301 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.0006447/1.619, allocations: 340.6 kB / 1.388 GB, free: 8.969 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/1.619, allocations: 0 / 1.388 GB, free: 8.969 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0002142/1.619, allocations: 147.9 kB / 1.388 GB, free: 8.824 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002256/1.621, allocations: 0.5048 MB / 1.388 GB, free: 8.324 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/1.624, allocations: 1.592 MB / 1.39 GB, free: 6.641 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006622/1.624, allocations: 1.071 MB / 1.391 GB, free: 5.543 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.0006533/1.625, allocations: 202.6 kB / 1.391 GB, free: 5.352 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001579/1.625, allocations: 63.44 kB / 1.391 GB, free: 5.289 MB / 1.123 GB Notification: Performance of SimCode: time 1.032e-06/1.625, allocations: 0 / 1.391 GB, free: 5.289 MB / 1.123 GB Notification: Performance of Templates: time 0.03262/1.658, allocations: 18.57 MB / 1.409 GB, free: 2.957 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