Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001916/0.001916, allocations: 79.7 kB / 20.23 MB, free: 4.195 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002338/0.002338, allocations: 157.3 kB / 23.55 MB, free: 0.8828 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.646/1.646, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.954/2.954, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_11_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_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.918e-05/4.096e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.3627/0.3628, allocations: 248.2 MB / 1.029 GB, free: 3.77 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.6774/1.04, allocations: 22.91 MB / 1.051 GB, free: 48.74 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/1.042, allocations: 79.94 kB / 1.051 GB, free: 48.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.002623/1.045, allocations: 1.001 MB / 1.052 GB, free: 48.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.004075/1.049, allocations: 1.56 MB / 1.054 GB, free: 48.74 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.004529/1.053, allocations: 2.035 MB / 1.056 GB, free: 48.72 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.003828/1.057, allocations: 2.733 MB / 1.058 GB, free: 48.72 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001585/1.059, allocations: 0.999 MB / 1.059 GB, free: 48.64 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/1.062, allocations: 1.783 MB / 1.061 GB, free: 48.62 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00101/1.063, allocations: 0.8208 MB / 1.062 GB, free: 48.54 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001416/1.063, allocations: 112.2 kB / 1.062 GB, free: 48.54 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003199/1.066, allocations: 1.435 MB / 1.063 GB, free: 48.39 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0003007/1.067, allocations: 407.5 kB / 1.064 GB, free: 48.33 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0005184/1.067, allocations: 447.5 kB / 1.064 GB, free: 48.28 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003076/1.07, allocations: 2.36 MB / 1.067 GB, free: 48.06 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/1.07, allocations: 0 / 1.067 GB, free: 48.06 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.985e-06/1.07, allocations: 6.594 kB / 1.067 GB, free: 48.06 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.847e-05/1.07, allocations: 0 / 1.067 GB, free: 48.06 MB / 0.9948 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.002168/1.072, allocations: 1.664 MB / 1.068 GB, free: 47.21 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/1.072, allocations: 9.438 kB / 1.068 GB, free: 47.21 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/1.074, allocations: 346.6 kB / 1.068 GB, free: 47.11 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001366/1.075, allocations: 0.932 MB / 1.069 GB, free: 46.84 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/1.075, allocations: 287.8 kB / 1.07 GB, free: 46.59 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/1.075, allocations: 88.84 kB / 1.07 GB, free: 46.59 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/1.076, allocations: 0.886 MB / 1.071 GB, free: 46.43 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/1.077, allocations: 2.656 kB / 1.071 GB, free: 46.43 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.625e-05/1.077, allocations: 38.33 kB / 1.071 GB, free: 46.43 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.83e-05/1.077, allocations: 23.25 kB / 1.071 GB, free: 46.43 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008984/1.078, allocations: 475.4 kB / 1.071 GB, free: 46.42 MB / 0.9948 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.003615/1.081, allocations: 3.446 MB / 1.075 GB, free: 44.91 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003005/1.081, allocations: 125.9 kB / 1.075 GB, free: 44.88 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/1.082, allocations: 92.31 kB / 1.075 GB, free: 44.86 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005207/1.082, allocations: 131.5 kB / 1.075 GB, free: 44.86 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/1.082, allocations: 36.52 kB / 1.075 GB, free: 44.82 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=24): time 1.624e-06/1.082, allocations: 0 / 1.075 GB, free: 44.82 MB / 0.9948 GB Notification: Performance of matching and sorting (n=24): time 0.0008954/1.083, allocations: 339.9 kB / 1.075 GB, free: 44.74 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/1.083, allocations: 54.41 kB / 1.075 GB, free: 44.68 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009551/1.084, allocations: 0.9372 MB / 1.076 GB, free: 44.47 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/1.084, allocations: 32.7 kB / 1.076 GB, free: 44.44 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003475/1.084, allocations: 0.6505 MB / 1.077 GB, free: 44.11 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 5.97e-05/1.084, allocations: 97.08 kB / 1.077 GB, free: 44.06 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000164/1.085, allocations: 118.9 kB / 1.077 GB, free: 44.03 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.345e-05/1.085, allocations: 0.5009 MB / 1.078 GB, free: 43.55 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/1.085, allocations: 93.98 kB / 1.078 GB, free: 43.54 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000407/1.085, allocations: 0.7977 MB / 1.078 GB, free: 42.68 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000454/1.086, allocations: 478.3 kB / 1.079 GB, free: 42.36 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.086, allocations: 2.781 kB / 1.079 GB, free: 42.36 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0007034/1.086, allocations: 465.1 kB / 1.079 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.699e-05/1.086, allocations: 8.562 kB / 1.079 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/1.086, allocations: 5.25 kB / 1.079 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/1.086, allocations: 8.875 kB / 1.079 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/1.087, allocations: 88.44 kB / 1.079 GB, free: 42.29 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.626e-05/1.087, allocations: 21.09 kB / 1.079 GB, free: 42.28 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004255/1.087, allocations: 46.77 kB / 1.079 GB, free: 42.26 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.281e-05/1.087, allocations: 29.12 kB / 1.08 GB, free: 42.26 MB / 0.9948 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.0002792/1.088, allocations: 279 kB / 1.08 GB, free: 42.09 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001099/1.088, allocations: 86.84 kB / 1.08 GB, free: 42.05 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005705/1.088, allocations: 329.8 kB / 1.08 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/1.088, allocations: 3.594 kB / 1.08 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.088, allocations: 3.422 kB / 1.08 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/1.088, allocations: 4.938 kB / 1.08 GB, free: 41.98 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/1.09, allocations: 1.512 MB / 1.082 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/1.09, allocations: 6.219 kB / 1.082 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001569/1.09, allocations: 37.45 kB / 1.082 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/1.09, allocations: 6.281 kB / 1.082 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.056e-05/1.09, allocations: 14.25 kB / 1.082 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.801e-06/1.09, allocations: 9.031 kB / 1.082 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.09, allocations: 10.12 kB / 1.082 GB, free: 41.46 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004502/1.091, allocations: 0.563 MB / 1.082 GB, free: 41.02 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002153/1.091, allocations: 120.1 kB / 1.082 GB, free: 40.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.149e-05/1.091, allocations: 12.09 kB / 1.082 GB, free: 40.97 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002903/1.091, allocations: 7.281 kB / 1.082 GB, free: 40.97 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.448e-05/1.091, allocations: 32.94 kB / 1.082 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-05/1.092, allocations: 17.38 kB / 1.082 GB, free: 40.96 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.000595/1.092, allocations: 0.5737 MB / 1.083 GB, free: 40.83 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7.1e-08/1.092, allocations: 1.188 kB / 1.083 GB, free: 40.83 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009614/1.093, allocations: 327.9 kB / 1.083 GB, free: 40.76 MB / 0.9948 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.0005138/1.094, allocations: 323 kB / 1.084 GB, free: 40.64 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0005463/1.094, allocations: 279.2 kB / 1.084 GB, free: 40.63 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/1.094, allocations: 2.281 kB / 1.084 GB, free: 40.63 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.000205/1.094, allocations: 112.4 kB / 1.084 GB, free: 40.62 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/1.096, allocations: 286 kB / 1.084 GB, free: 40.6 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002591/1.098, allocations: 1.572 MB / 1.086 GB, free: 39.68 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000462/1.099, allocations: 477.3 kB / 1.086 GB, free: 39.57 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0004921/1.099, allocations: 134.5 kB / 1.086 GB, free: 39.56 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/1.099, allocations: 51.97 kB / 1.086 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of SimCode: time 6.12e-07/1.099, allocations: 0 / 1.086 GB, free: 39.55 MB / 0.9948 GB Notification: Performance of Templates: time 0.02578/1.125, allocations: 12.18 MB / 1.098 GB, free: 38.2 MB / 0.9948 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 9.9334728079848]