Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001742/0.001742, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001977/0.001977, allocations: 183 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.647/2.647, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.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=2500,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_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") translateModel(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 68.12 kB / 1.061 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.015, allocations: 160.8 MB / 1.218 GB, free: 4.438 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3332/1.348, allocations: 251 MB / 1.464 GB, free: 8.543 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03443/1.382, allocations: 22.57 MB / 1.486 GB, free: 1.895 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002498/1.385, allocations: 71.38 kB / 1.486 GB, free: 1.824 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.003553/1.388, allocations: 0.9937 MB / 1.487 GB, free: 0.8242 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005685/1.394, allocations: 1.549 MB / 1.488 GB, free: 15.27 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006627/1.401, allocations: 2.014 MB / 1.49 GB, free: 13.25 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.006785/1.407, allocations: 2.703 MB / 1.493 GB, free: 10.55 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002087/1.409, allocations: 0.9773 MB / 1.494 GB, free: 9.535 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003999/1.413, allocations: 1.378 MB / 1.495 GB, free: 8.152 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002225/1.416, allocations: 0.9728 MB / 1.496 GB, free: 7.176 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.000236/1.416, allocations: 108 kB / 1.496 GB, free: 7.07 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004978/1.421, allocations: 1.796 MB / 1.498 GB, free: 5.27 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0005799/1.421, allocations: 394.7 kB / 1.498 GB, free: 4.883 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/1.423, allocations: 0.6376 MB / 1.499 GB, free: 4.242 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.005296/1.428, allocations: 2.293 MB / 1.501 GB, free: 1.941 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 6.132e-06/1.428, allocations: 0 / 1.501 GB, free: 1.941 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.535e-06/1.428, allocations: 0 / 1.501 GB, free: 1.941 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.056e-05/1.428, allocations: 0 / 1.501 GB, free: 1.941 MB / 1.201 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.00253/1.43, allocations: 1.505 MB / 1.503 GB, free: 392 kB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.831e-05/1.43, allocations: 12.02 kB / 1.503 GB, free: 380 kB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/1.432, allocations: 231 kB / 1.503 GB, free: 148 kB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/1.433, allocations: 0.9202 MB / 1.504 GB, free: 15.18 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002416/1.434, allocations: 188.8 kB / 1.504 GB, free: 14.97 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/1.434, allocations: 91.94 kB / 1.504 GB, free: 14.88 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/1.435, allocations: 0.9324 MB / 1.505 GB, free: 13.91 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.514e-05/1.435, allocations: 3.938 kB / 1.505 GB, free: 13.91 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.155e-05/1.436, allocations: 36 kB / 1.505 GB, free: 13.88 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/1.436, allocations: 20 kB / 1.505 GB, free: 13.86 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/1.437, allocations: 0.6323 MB / 1.506 GB, free: 13.22 MB / 1.217 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.005597/1.442, allocations: 4.448 MB / 1.51 GB, free: 8.379 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004187/1.443, allocations: 178.7 kB / 1.51 GB, free: 8.195 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002139/1.443, allocations: 136.7 kB / 1.51 GB, free: 8.059 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/1.444, allocations: 1.017 MB / 1.511 GB, free: 6.82 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.248e-05/1.444, allocations: 46.59 kB / 1.511 GB, free: 6.766 MB / 1.217 GB Notification: Performance of pre-optimization done (n=24): time 2.225e-06/1.444, allocations: 0 / 1.511 GB, free: 6.766 MB / 1.217 GB Notification: Performance of matching and sorting (n=24): time 0.001208/1.446, allocations: 476.5 kB / 1.512 GB, free: 6.293 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/1.446, allocations: 51.41 kB / 1.512 GB, free: 6.23 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/1.447, allocations: 1.114 MB / 1.513 GB, free: 5.102 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 4.493e-05/1.447, allocations: 29.7 kB / 1.513 GB, free: 5.066 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005107/1.448, allocations: 0.5165 MB / 1.513 GB, free: 4.547 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 9.382e-05/1.448, allocations: 91.27 kB / 1.513 GB, free: 4.457 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001704/1.448, allocations: 102 kB / 1.514 GB, free: 4.352 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001589/1.448, allocations: 322 kB / 1.514 GB, free: 4.031 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/1.448, allocations: 128.8 kB / 1.514 GB, free: 3.902 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005101/1.449, allocations: 391 kB / 1.514 GB, free: 3.414 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007006/1.45, allocations: 471.5 kB / 1.515 GB, free: 2.867 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/1.45, allocations: 4 kB / 1.515 GB, free: 2.863 MB / 1.217 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001029/1.451, allocations: 0.5432 MB / 1.515 GB, free: 2.312 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/1.451, allocations: 14.44 kB / 1.515 GB, free: 2.301 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/1.451, allocations: 4 kB / 1.515 GB, free: 2.297 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/1.451, allocations: 8 kB / 1.515 GB, free: 2.289 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003917/1.451, allocations: 92.48 kB / 1.515 GB, free: 2.199 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/1.451, allocations: 12 kB / 1.515 GB, free: 2.188 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000662/1.452, allocations: 99.27 kB / 1.516 GB, free: 2.09 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/1.452, allocations: 24 kB / 1.516 GB, free: 2.066 MB / 1.217 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.0004232/1.452, allocations: 289.5 kB / 1.516 GB, free: 1.773 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/1.452, allocations: 111.2 kB / 1.516 GB, free: 1.664 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007676/1.453, allocations: 431.8 kB / 1.516 GB, free: 1.234 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/1.453, allocations: 4 kB / 1.516 GB, free: 1.23 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.453, allocations: 0 / 1.516 GB, free: 1.23 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/1.453, allocations: 0 / 1.516 GB, free: 1.23 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/1.456, allocations: 1.562 MB / 1.518 GB, free: 15.56 MB / 1.233 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.755e-06/1.456, allocations: 4 kB / 1.518 GB, free: 15.55 MB / 1.233 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00018/1.456, allocations: 43.86 kB / 1.518 GB, free: 15.51 MB / 1.233 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.985e-06/1.456, allocations: 4 kB / 1.518 GB, free: 15.51 MB / 1.233 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.502e-05/1.456, allocations: 12 kB / 1.518 GB, free: 15.5 MB / 1.233 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.456, allocations: 11.88 kB / 1.518 GB, free: 15.48 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/1.456, allocations: 7.984 kB / 1.518 GB, free: 15.48 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007275/1.457, allocations: 0.5916 MB / 1.519 GB, free: 14.82 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/1.457, allocations: 236.3 kB / 1.519 GB, free: 14.57 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001045/1.457, allocations: 12 kB / 1.519 GB, free: 14.55 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004298/1.458, allocations: 19.97 kB / 1.519 GB, free: 14.54 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.069e-05/1.458, allocations: 31.84 kB / 1.519 GB, free: 14.5 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/1.458, allocations: 12 kB / 1.519 GB, free: 14.49 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.00113/1.459, allocations: 0.7822 MB / 1.52 GB, free: 13.7 MB / 1.233 GB Notification: Performance of sort global known variables: time 7e-08/1.459, allocations: 0 / 1.52 GB, free: 13.7 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.000994/1.46, allocations: 287.4 kB / 1.52 GB, free: 13.42 MB / 1.233 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.0007778/1.461, allocations: 332.9 kB / 1.52 GB, free: 13.09 MB / 1.233 GB Notification: Performance of simCode: created initialization part: time 0.000689/1.461, allocations: 331.1 kB / 1.521 GB, free: 12.77 MB / 1.233 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.461, allocations: 0 / 1.521 GB, free: 12.77 MB / 1.233 GB Notification: Performance of simCode: created simulation system equations: time 0.0002262/1.462, allocations: 139.9 kB / 1.521 GB, free: 12.64 MB / 1.233 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002829/1.464, allocations: 0.518 MB / 1.521 GB, free: 12.13 MB / 1.233 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002652/1.467, allocations: 1.59 MB / 1.523 GB, free: 10.45 MB / 1.233 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008084/1.468, allocations: 1.063 MB / 1.524 GB, free: 9.359 MB / 1.233 GB Notification: Performance of simCode: alias equations: time 0.0006786/1.468, allocations: 194.6 kB / 1.524 GB, free: 9.172 MB / 1.233 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001787/1.469, allocations: 67.42 kB / 1.524 GB, free: 9.105 MB / 1.233 GB Notification: Performance of SimCode: time 6.01e-07/1.469, allocations: 0 / 1.524 GB, free: 9.105 MB / 1.233 GB Notification: Performance of Templates: time 0.03785/1.507, allocations: 18.94 MB / 1.543 GB, free: 6.375 MB / 1.248 GB " [Timeout remaining time 298] make -j1 -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.149978533387184]