Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008006/0.0008006, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0007926/0.0007926, allocations: 181.9 kB / 23.22 MB, free: 1.348 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 0.8841/0.8841, allocations: 177.1 MB / 203.5 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.796/1.796, allocations: 389 MB / 0.6338 GB, free: 12.74 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 3.938 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.428e-05/2.589e-05, allocations: 10.22 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal): time 0.7362/0.7362, allocations: 221.6 MB / 1.217 GB, free: 6.242 MB / 1.057 GB Notification: Performance of NFInst.instExpressions: time 0.02013/0.7563, allocations: 20.41 MB / 1.237 GB, free: 6.43 MB / 1.073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002054/0.7584, allocations: 74.22 kB / 1.237 GB, free: 6.391 MB / 1.073 GB Notification: Performance of NFTyping.typeComponents: time 0.002703/0.7611, allocations: 0.9971 MB / 1.238 GB, free: 5.527 MB / 1.073 GB Notification: Performance of NFTyping.typeBindings: time 0.003903/0.765, allocations: 1.552 MB / 1.24 GB, free: 4.301 MB / 1.073 GB Notification: Performance of NFTyping.typeClassSections: time 0.004122/0.7691, allocations: 2.026 MB / 1.242 GB, free: 2.777 MB / 1.073 GB Notification: Performance of NFFlatten.flatten: time 0.003774/0.7729, allocations: 2.678 MB / 1.244 GB, free: 1.18 MB / 1.073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.7743, allocations: 0.9165 MB / 1.245 GB, free: 0.5 MB / 1.073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003547/0.7778, allocations: 1.998 MB / 1.247 GB, free: 15.2 MB / 1.089 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.7791, allocations: 0.8083 MB / 1.248 GB, free: 14.72 MB / 1.089 GB Notification: Performance of NFPackage.collectConstants: time 0.0002149/0.7793, allocations: 108 kB / 1.248 GB, free: 14.62 MB / 1.089 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002684/0.782, allocations: 1.41 MB / 1.25 GB, free: 13.2 MB / 1.089 GB Notification: Performance of NFScalarize.scalarize: time 0.0004034/0.7824, allocations: 410.6 kB / 1.25 GB, free: 12.8 MB / 1.089 GB Notification: Performance of NFVerifyModel.verify: time 0.0006068/0.783, allocations: 439 kB / 1.25 GB, free: 12.37 MB / 1.089 GB Notification: Performance of NFConvertDAE.convert: time 0.003991/0.787, allocations: 2.348 MB / 1.253 GB, free: 10.02 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/0.787, allocations: 4 kB / 1.253 GB, free: 10.01 MB / 1.089 GB Notification: Performance of FrontEnd: time 2.254e-06/0.787, allocations: 2.812 kB / 1.253 GB, free: 10.01 MB / 1.089 GB Notification: Performance of Transformations before backend: time 5.237e-05/0.7871, allocations: 0 / 1.253 GB, free: 10.01 MB / 1.089 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.002091/0.7891, allocations: 1.43 MB / 1.254 GB, free: 8.547 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7892, allocations: 12.69 kB / 1.254 GB, free: 8.535 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007903/0.79, allocations: 239 kB / 1.254 GB, free: 8.301 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001186/0.7912, allocations: 0.852 MB / 1.255 GB, free: 7.422 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001818/0.7913, allocations: 287.6 kB / 1.255 GB, free: 7.094 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.7914, allocations: 92 kB / 1.255 GB, free: 7.004 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.7925, allocations: 0.9285 MB / 1.256 GB, free: 6.039 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.7925, allocations: 3.938 kB / 1.256 GB, free: 6.035 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.106e-05/0.7926, allocations: 39.94 kB / 1.256 GB, free: 5.996 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.621e-05/0.7926, allocations: 24 kB / 1.256 GB, free: 5.973 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008012/0.7934, allocations: 0.6284 MB / 1.257 GB, free: 5.344 MB / 1.089 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.002962/0.7964, allocations: 2.643 MB / 1.26 GB, free: 2.633 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002911/0.7967, allocations: 174.7 kB / 1.26 GB, free: 2.453 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.7968, allocations: 141.7 kB / 1.26 GB, free: 2.312 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003223/0.7971, allocations: 119.9 kB / 1.26 GB, free: 2.195 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.7972, allocations: 45.78 kB / 1.26 GB, free: 2.145 MB / 1.089 GB Notification: Performance of pre-optimization done (n=24): time 2.494e-06/0.7972, allocations: 0 / 1.26 GB, free: 2.145 MB / 1.089 GB Notification: Performance of matching and sorting (n=24): time 0.0007039/0.7979, allocations: 439.9 kB / 1.261 GB, free: 1.711 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.345e-05/0.7979, allocations: 59.41 kB / 1.261 GB, free: 1.641 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006362/0.7985, allocations: 0.7193 MB / 1.261 GB, free: 0.9141 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.7986, allocations: 33.7 kB / 1.261 GB, free: 0.875 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002676/0.7988, allocations: 0.5386 MB / 1.262 GB, free: 336 kB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 5.099e-05/0.7989, allocations: 95.2 kB / 1.262 GB, free: 240 kB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001131/0.799, allocations: 98.08 kB / 1.262 GB, free: 136 kB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.7991, allocations: 378.8 kB / 1.262 GB, free: 15.75 MB / 1.104 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.7993, allocations: 128.9 kB / 1.263 GB, free: 15.63 MB / 1.104 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004023/0.7997, allocations: 0.7339 MB / 1.263 GB, free: 14.7 MB / 1.104 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00041/0.8001, allocations: 467.6 kB / 1.264 GB, free: 14.16 MB / 1.104 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.8001, allocations: 0 / 1.264 GB, free: 14.16 MB / 1.104 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005882/0.8007, allocations: 0.5199 MB / 1.264 GB, free: 13.63 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 1.953e-05/0.8007, allocations: 8 kB / 1.264 GB, free: 13.62 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.8007, allocations: 4.688 kB / 1.264 GB, free: 13.62 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.8008, allocations: 12 kB / 1.264 GB, free: 13.61 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002182/0.801, allocations: 91.84 kB / 1.264 GB, free: 13.52 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.801, allocations: 15.19 kB / 1.264 GB, free: 13.51 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000298/0.8013, allocations: 51.61 kB / 1.264 GB, free: 13.46 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.014e-05/0.8013, allocations: 23.98 kB / 1.264 GB, free: 13.43 MB / 1.104 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.0003086/0.8016, allocations: 285.6 kB / 1.265 GB, free: 13.14 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.241e-05/0.8017, allocations: 75.53 kB / 1.265 GB, free: 13.07 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004946/0.8022, allocations: 406.2 kB / 1.265 GB, free: 12.66 MB / 1.104 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.089e-05/0.8022, allocations: 4 kB / 1.265 GB, free: 12.66 MB / 1.104 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.8022, allocations: 0 / 1.265 GB, free: 12.66 MB / 1.104 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000297/0.8025, allocations: 7.922 kB / 1.265 GB, free: 12.65 MB / 1.104 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.8039, allocations: 1.336 MB / 1.266 GB, free: 11.22 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.8039, allocations: 4 kB / 1.266 GB, free: 11.21 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.934e-05/0.804, allocations: 39.92 kB / 1.266 GB, free: 11.18 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.804, allocations: 4 kB / 1.266 GB, free: 11.17 MB / 1.104 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.804, allocations: 12 kB / 1.266 GB, free: 11.16 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/0.804, allocations: 15.92 kB / 1.267 GB, free: 11.14 MB / 1.104 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.769e-06/0.804, allocations: 7.75 kB / 1.267 GB, free: 11.14 MB / 1.104 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004371/0.8045, allocations: 0.5444 MB / 1.267 GB, free: 10.53 MB / 1.104 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.8046, allocations: 123.3 kB / 1.267 GB, free: 10.41 MB / 1.104 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.8047, allocations: 11.95 kB / 1.267 GB, free: 10.39 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.8048, allocations: 8 kB / 1.267 GB, free: 10.39 MB / 1.104 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.8049, allocations: 27.91 kB / 1.267 GB, free: 10.36 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.8049, allocations: 15.94 kB / 1.267 GB, free: 10.34 MB / 1.104 GB Notification: Performance of sorting global known variables: time 0.0004502/0.8053, allocations: 0.499 MB / 1.268 GB, free: 9.852 MB / 1.104 GB Notification: Performance of sort global known variables: time 6e-08/0.8053, allocations: 0 / 1.268 GB, free: 9.852 MB / 1.104 GB Notification: Performance of remove unused functions: time 0.0007736/0.8061, allocations: 323 kB / 1.268 GB, free: 9.535 MB / 1.104 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.0004354/0.8065, allocations: 318.2 kB / 1.268 GB, free: 9.219 MB / 1.104 GB Notification: Performance of simCode: created initialization part: time 0.0004445/0.807, allocations: 331.5 kB / 1.269 GB, free: 8.895 MB / 1.104 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.807, allocations: 1.375 kB / 1.269 GB, free: 8.895 MB / 1.104 GB Notification: Performance of simCode: created simulation system equations: time 0.0001444/0.8071, allocations: 148.5 kB / 1.269 GB, free: 8.75 MB / 1.104 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007625/0.8079, allocations: 241.5 kB / 1.269 GB, free: 8.531 MB / 1.104 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.8097, allocations: 1.586 MB / 1.271 GB, free: 6.848 MB / 1.104 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.81, allocations: 479.8 kB / 1.271 GB, free: 6.348 MB / 1.104 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.8102, allocations: 60.48 kB / 1.271 GB, free: 6.289 MB / 1.104 GB Notification: Performance of SimCode: time 1.253e-06/0.8102, allocations: 0 / 1.271 GB, free: 6.289 MB / 1.104 GB Notification: Performance of Templates: time 0.01551/0.8257, allocations: 14.29 MB / 1.285 GB, free: 8.105 MB / 1.12 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe >> ../files/Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.sim & ./Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.FMI.Conversion.Validation.AirToOutletFlowReversal_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_FMI_Conversion_Validation_AirToOutletFlowReversal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.821601732634008]